Control method for tintable windows

ABSTRACT

A method of controlling tint of a tintable window to account for occupant comfort in a room of a building. The tintable window is between the interior and exterior of the building. The method predicts a tint level for the tintable window at a future time based on a penetration depth of direct sunlight through the tintable window into the room at the future time and space type in the room. The method also provides instructions over a network to transition tint of the tintable window to the tint level.

FIELD

The embodiments disclosed herein relate generally to window controllers and related predictive control logic for implementing methods of controlling tint and other functions of tintable windows (e.g., electrochromic windows).

BACKGROUND

Electrochromism is a phenomenon in which a material exhibits a reversible electrochemically-mediated change in an optical property when placed in a different electronic state, typically by being subjected to a voltage change. The optical property is typically one or more of color, transmittance, absorbance, and reflectance. One well known electrochromic material is tungsten oxide (WO₃). Tungsten oxide is a cathodic electrochromic material in which a coloration transition, transparent to blue, occurs by electrochemical reduction.

Electrochromic materials may be incorporated into, for example, windows for home, commercial and other uses. The color, transmittance, absorbance, and/or reflectance of such windows may be changed by inducing a change in the electrochromic material, that is, electrochromic windows are windows that can be darkened or lightened electronically. A small voltage applied to an electrochromic device of the window will cause them to darken; reversing the voltage causes them to lighten. This capability allows control of the amount of light that passes through the windows, and presents an opportunity for electrochromic windows to be used as energy-saving devices.

While electrochromism was discovered in the 1960s, electrochromic devices, and particularly electrochromic windows, still unfortunately suffer various problems and have not begun to realize their full commercial potential despite many recent advances in electrochromic technology, apparatus and related methods of making and/or using electrochromic devices.

SUMMARY

Systems, methods, and apparatus for controlling transitions of electrochromic windows and other tintable windows to different tint levels are provided. Generally, embodiments include predictive control logic for implementing methods of controlling tint levels of electrochromic windows or other tintable windows. Typically, the control logic can be used in a building having one or more electrochromic windows located between the interior and exterior of the building. The windows may have different configurations. For example, some may be vertical windows in offices or lobbies and others may be skylights in hallways. More particularly, disclosed embodiments include predictive control logic that provides a method of predicting and changing the tint level of one or more tintable windows to directly account for occupant comfort. The method can determined the tint level for a future time, for example, to allow for the predicted transition time of the tintable windows.

The comfort has to do with reducing direct glare and/or total radiant energy directed onto an occupant or the occupant's area of activity. In some cases, the comfort also has to do with allowing sufficient natural lighting into the area. The control logic may also make use of considerations for energy conservation. In a particular implementation, control logic may include one or more modules with at least one of the modules being associated with occupant comfort considerations. One or more of the modules may be concerned with energy consumption as well.

In one aspect, one or more modules of the control logic may determine a tint level that is determined based on occupant comfort from direct sunlight or glare on the occupant or their activity area such as their desk. These modules may determine how far into the room the sunlight penetrates at a particular instant in time. The modules may then determine an appropriate tint level that will transmit the level of light that will be comfortable to the occupant.

In another aspect, one or more modules of the control logic may modify the tint level determined based on occupant comfort to also take into account energy considerations from predicted irradiance under clear sky conditions. In this aspect, the tint level may be darkened to make sure that it performs at least as well as a reference window required in the building as specified by the local municipality codes or standards. The modified tint level will provide at least as much energy savings in cooling as the reference window. In some cases, the tint level may be lightened instead to provide energy savings in heating.

In yet another aspect, one or more modules of the control logic may modify the tint level determined based on occupant comfort and predicted clear sky irradiance to account for actual irradiance. The actual irradiance may be different than the predicted irradiance due to obstructions and reflection of light. A photosensor or other sensor that can measure radiation levels can be used to determine the actual irradiance. These one or more modules determine the lightest tint level that transmits as much or less light into the room than the tint level determined based on occupant comfort and predicted clear sky irradiance.

One embodiment is a method of controlling tint of a tintable window to account for occupant comfort in a room of a building. The tintable window is located between the interior and exterior of the building. The method predicts an appropriate tint level for the tintable window at a future time based on a penetration depth of direct sunlight through the tintable window into the room at the future time and space type in the room. The method provides instructions over a network to transition tint of the tintable window to the tint level.

Another embodiment is a controller for controlling tint of a tintable window to account for occupant comfort in a room of a building. The tintable window is located between the interior and exterior of the building. The controller comprises a processor configured to determine a tint level for the tintable window based on a penetration depth of direct sunlight through the tintable window into a room and space type in the room. The controller also comprises a power width modulator in communication with the processor and with the tintable window over a network. The power width modulator is configured to receive the tint level from the processor and send a signal with tint instructions over the network to transition the tint of the tintable window to the determined tint level.

Another embodiment is a master controller for controlling tint of a tintable window to account for occupant comfort in a building. The tintable window is located between the interior and exterior of the building. The master controller comprises a computer readable medium and a processor in communication with the computer readable medium and in communication with a local window controller for the tintable window. The computer readable medium has a configuration file with a space type associated with the tintable window. The processor is configured to receive the space type from the computer readable medium, determine a tint level for the tintable window based on a penetration depth of direct sunlight through the tintable window into a room and the space type, and send tint instructions over a network to the local window controller to transition tint of the tintable window to the determined tint level.

Another embodiment is a method of controlling tint of one or more tintable windows in a zone of a building to account for occupant comfort. The method calculates a future time based on a current time and based on a predicted transition time of a representative window of the zone. The method also predicts a solar position at the future time and determines a program designated by a user in schedule. The program includes logic for determining a tint level based on one or more independent variables. The method also employs the determined program to determining the tint level based on the predicted solar position at the future time and occupant comfort. The method also communicates instructions to the one or more tintable windows to transition tint to the determined tint level.

Another embodiment is a window controller for controlling tint of one or more tintable windows in a zone of a building to account for occupant comfort. The window controller comprises a computer readable medium having predictive control logic, and site data and zone/group data associated with the zone. The window controller further comprises a processor in communication with the computer readable medium and in communication with the tintable window. The processor is configured to calculate a future time based on a current time and a predicted transition time of a representative window of the zone. The processor is also configured to predict a solar position at the future time and determine a program designated by a user in a schedule. The program includes logic for determining a tint level based on one or more independent variables. The processor is also configured to employ the determined program to determine a tint level using the predicted solar position at the future time and based on occupant comfort. The processor is also configured to communicate instructions to the one or more tintable windows in the zone to transition tint to the determined tint level.

These and other features and embodiments will be described in more detail below with reference to the drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1A-1C show schematic diagrams of electrochromic devices formed on glass substrates, i.e., electrochromic lites.

FIGS. 2A and 2B show cross-sectional schematic diagrams of the electrochromic lites as described in relation to FIGS. 1A-1C integrated into an IGU.

FIG. 3A depicts a schematic cross-section of an electrochromic device.

FIG. 3B depicts a schematic cross-section of an electrochromic device in a bleached state (or transitioning to a bleached state).

FIG. 3C depicts a schematic cross-section of the electrochromic device shown in FIG. 3B, but in a colored state (or transitioning to a colored state).

FIG. 4 depicts a simplified block diagram of components of a window controller.

FIG. 5 depicts a schematic diagram of a room including a tintable window and at least one sensor, according to disclosed embodiments.

FIGS. 6A-6C include diagrams depicting some information collected by each of three Modules A, B, and C of an exemplary control logic, according to disclosed embodiments.

FIG. 7 is a flowchart showing some steps of predictive control logic for a method of controlling one or more electrochromic windows in a building, according to disclosed embodiments.

FIG. 8 is a flowchart showing a particular implementation of a portion of the control logic shown in FIG. 7.

FIG. 9 is a flowchart showing details of Module A according to disclosed embodiments.

FIG. 10 is an example of an occupancy lookup table according to disclosed embodiments.

FIG. 11A depicts a schematic diagram of a room including an electrochromic window with a space type based on the Desk 1 located near the window, according to disclosed embodiments.

FIG. 11B depicts a schematic diagram of a room including an electrochromic window with a space type based on the Desk 2 located further away from the window than in FIG. 11A, according to disclosed embodiments.

FIG. 12 is a flowchart showing details of Module B according to disclosed embodiments.

FIG. 13 is a flowchart showing details of Module C according to disclosed embodiments.

FIG. 14 is a diagram showing another implementation of a portion of the control logic shown in FIG. 7.

FIG. 15 depicts a schematic diagram of an embodiment of a building management system.

FIG. 16 depicts a block diagram of an embodiment of a building network.

FIG. 17 is a block diagram of components of a system for controlling functions of one or more tintable windows of a building.

FIG. 18 is a block diagram depicting predictive control logic for a method of controlling the transitioning of tint levels of one or more tintable windows (e.g., electrochromic windows) in a building.

FIG. 19 is screenshot of a user interface used to enter schedule information to generate a schedule employed by a window controller, according to embodiments.

FIG. 20 is an example of an occupancy lookup table and a schematic diagram of a room with a desk and window showing the relationship between acceptance angle, sun angle, and penetration depth, according to embodiments.

FIGS. 21A, 21B, and 21C are schematic drawings of the plan view of a portion of building having three different space types, according to an embodiment.

FIG. 22 is a block diagram of subsystems that may be present in window controllers used to control the tint level or more tintable windows, according to embodiments.

DETAILED DESCRIPTION

In the following description, numerous specific details are set forth in order to provide a thorough understanding of the presented embodiments. The disclosed embodiments may be practiced without some or all of these specific details. In other instances, well-known process operations have not been described in detail to not unnecessarily obscure the disclosed embodiments. While the disclosed embodiments will be described in conjunction with the specific embodiments, it will be understood that it is not intended to limit the disclosed embodiments.

I. Overview of Electrochromic Devices

It should be understood that while disclosed embodiments focus on electrochromic windows (also referred to as smart windows), the concepts disclosed herein may apply to other types of tintable windows. For example, a tintable window incorporating a liquid crystal device or a suspended particle device, instead of an electrochromic device could be incorporated in any of the disclosed embodiments.

In order to orient the reader to the embodiments of systems, window controllers, and methods disclosed herein, a brief discussion of electrochromic devices is provided. This initial discussion of electrochromic devices is provided for context only, and the subsequently described embodiments of systems, window controllers, and methods are not limited to the specific features and fabrication processes of this initial discussion.

A particular example of an electrochromic lite is described with reference to FIGS. 1A-1C, in order to illustrate embodiments described herein. FIG. 1A is a cross-sectional representation (see section cut X′-X′ of FIG. 1C) of an electrochromic lite 100, which is fabricated starting with a glass sheet 105. FIG. 1B shows an end view (see viewing perspective Y-Y′ of FIG. 1C) of electrochromic lite 100, and FIG. 1C shows a top-down view of electrochromic lite 100. FIG. 1A shows the electrochromic lite after fabrication on glass sheet 105, edge deleted to produce area 140, around the perimeter of the lite. The electrochromic lite has also been laser scribed and bus bars have been attached. The glass lite 105 has a diffusion barrier 110, and a first transparent conducting oxide layer (TCO) 115, on the diffusion barrier. In this example, the edge deletion process removes both TCO 115 and diffusion barrier 110, but in other embodiments only the TCO is removed, leaving the diffusion barrier intact. The TCO 115 is the first of two conductive layers used to form the electrodes of the electrochromic device fabricated on the glass sheet. In this example, the glass sheet includes underlying glass and the diffusion barrier layer. Thus, in this example, the diffusion barrier is formed, and then the first TCO, an electrochromic stack 125, (e.g., having electrochromic, ion conductor, and counter electrode layers), and a second TCO 130, are formed. In one embodiment, the electrochromic device (electrochromic stack and second TCO) is fabricated in an integrated deposition system where the glass sheet does not leave the integrated deposition system at any time during fabrication of the stack. In one embodiment, the first TCO layer is also formed using the integrated deposition system where the glass sheet does not leave the integrated deposition system during deposition of the electrochromic stack and the (second) TCO layer. In one embodiment, all of the layers (diffusion barrier, first TCO, electrochromic stack, and second TCO) are deposited in the integrated deposition system where the glass sheet does not leave the integrated deposition system during deposition. In this example, prior to deposition of electrochromic stack 125, an isolation trench 120, is cut through TCO 115 and diffusion barrier 110. Trench 120 is made in contemplation of electrically isolating an area of TCO 115 that will reside under bus bar 1 after fabrication is complete (see FIG. 1A). This is done to avoid charge buildup and coloration of the electrochromic device under the bus bar, which can be undesirable.

After formation of the electrochromic device, edge deletion processes and additional laser scribing are performed. FIG. 1A depicts areas 140 where the device has been removed, in this example, from a perimeter region surrounding laser scribe trenches 150, 155, 160, and 165. Trenches 150, 160 and 165 pass through the electrochromic stack and also through the first TCO and diffusion barrier. Trench 155 passes through second TCO 130 and the electrochromic stack, but not the first TCO 115. Laser scribe trenches 150, 155, 160, and 165 are made to isolate portions of the electrochromic device, 135, 145, 170, and 175, which were potentially damaged during edge deletion processes from the operable electrochromic device. In this example, laser scribe trenches 150, 160, and 165 pass through the first TCO to aid in isolation of the device (laser scribe trench 155 does not pass through the first TCO, otherwise it would cut off bus bar 2's electrical communication with the first TCO and thus the electrochromic stack). The laser or lasers used for the laser scribe processes are typically, but not necessarily, pulse-type lasers, for example, diode-pumped solid state lasers. For example, the laser scribe processes can be performed using a suitable laser from IPG Photonics (of Oxford, Mass.), or from Ekspla (of Vilnius, Lithuania). Scribing can also be performed mechanically, for example, by a diamond tipped scribe. One of ordinary skill in the art would appreciate that the laser scribing processes can be performed at different depths and/or performed in a single process whereby the laser cutting depth is varied, or not, during a continuous path around the perimeter of the electrochromic device. In one embodiment, the edge deletion is performed to the depth of the first TCO.

After laser scribing is complete, bus bars are attached. Non-penetrating bus bar 1 is applied to the second TCO. Non-penetrating bus bar 2 is applied to an area where the device was not deposited (e.g., from a mask protecting the first TCO from device deposition), in contact with the first TCO or, in this example, where an edge deletion process (e.g., laser ablation using an apparatus having a XY or XYZ galvanometer) was used to remove material down to the first TCO. In this example, both bus bar 1 and bus bar 2 are non-penetrating bus bars. A penetrating bus bar is one that is typically pressed into and through the electrochromic stack to make contact with the TCO at the bottom of the stack. A non-penetrating bus bar is one that does not penetrate into the electrochromic stack layers, but rather makes electrical and physical contact on the surface of a conductive layer, for example, a TCO.

The TCO layers can be electrically connected using a non-traditional bus bar, for example, a bus bar fabricated with screen and lithography patterning methods. In one embodiment, electrical communication is established with the device's transparent conducting layers via silk screening (or using another patterning method) a conductive ink followed by heat curing or sintering the ink. Advantages to using the above described device configuration include simpler manufacturing, for example, and less laser scribing than conventional techniques which use penetrating bus bars.

After the bus bars are connected, the device is integrated into an insulated glass unit (IGU), which includes, for example, wiring the bus bars and the like. In some embodiments, one or both of the bus bars are inside the finished IGU, however in one embodiment one bus bar is outside the seal of the IGU and one bus bar is inside the IGU. In the former embodiment, area 140 is used to make the seal with one face of the spacer used to form the IGU. Thus, the wires or other connection to the bus bars runs between the spacer and the glass. As many spacers are made of metal, e.g., stainless steel, which is conductive, it is desirable to take steps to avoid short circuiting due to electrical communication between the bus bar and connector thereto and the metal spacer.

As described above, after the bus bars are connected, the electrochromic lite is integrated into an IGU, which includes, for example, wiring for the bus bars and the like. In the embodiments described herein, both of the bus bars are inside the primary seal of the finished IGU.

FIG. 2A shows a cross-sectional schematic diagram of the electrochromic window as described in relation to FIGS. 1A-1C integrated into an IGU 200. A spacer 205 is used to separate the electrochromic lite from a second lite 210. Second lite 210 in IGU 200 is a non-electrochromic lite, however, the embodiments disclosed herein are not so limited. For example, lite 210 can have an electrochromic device thereon and/or one or more coatings such as low-E coatings and the like. Lite 201 can also be laminated glass, such as depicted in FIG. 2B (lite 201 is laminated to reinforcing pane 230, via resin 235). Between spacer 205 and the first TCO layer of the electrochromic lite is a primary seal material 215. This primary seal material is also between spacer 205 and second glass lite 210. Around the perimeter of spacer 205 is a secondary seal 220. Bus bar wiring/leads traverse the seals for connection to a controller. Secondary seal 220 may be much thicker that depicted. These seals aid in keeping moisture out of an interior space 225, of the IGU. They also serve to prevent argon or other gas in the interior of the IGU from escaping.

FIG. 3A schematically depicts an electrochromic device 300, in cross-section. Electrochromic device 300 includes a substrate 302, a first conductive layer (CL) 304, an electrochromic layer (EC) 306, an ion conducting layer (IC) 308, a counter electrode layer (CE) 310, and a second conductive layer (CL) 314. Layers 304, 306, 308, 310, and 314 are collectively referred to as an electrochromic stack 320. A voltage source 316 operable to apply an electric potential across electrochromic stack 320 effects the transition of the electrochromic device from, for example, a bleached state to a colored state (depicted). The order of layers can be reversed with respect to the substrate.

Electrochromic devices having distinct layers as described can be fabricated as all solid state devices and/or all inorganic devices having low defectivity. Such devices and methods of fabricating them are described in more detail in U.S. patent application Ser. No. 12/645,111, entitled “Fabrication of Low-Defectivity Electrochromic Devices,” filed on Dec. 22, 2009, and naming Mark Kozlowski et al. as inventors, and in U.S. patent application Ser. No. 12/645,159, entitled, “Electrochromic Devices,” filed on Dec. 22, 2009 and naming Zhongchun Wang et al. as inventors, both of which are hereby incorporated by reference in their entireties. It should be understood, however, that any one or more of the layers in the stack may contain some amount of organic material. The same can be said for liquids that may be present in one or more layers in small amounts. It should also be understood that solid state material may be deposited or otherwise formed by processes employing liquid components such as certain processes employing sol-gels or chemical vapor deposition.

Additionally, it should be understood that the reference to a transition between a bleached state and colored state is non-limiting and suggests only one example, among many, of an electrochromic transition that may be implemented. Unless otherwise specified herein (including the foregoing discussion), whenever reference is made to a bleached-colored transition, the corresponding device or process encompasses other optical state transitions such as non-reflective-reflective, transparent-opaque, etc. Further, the term “bleached” refers to an optically neutral state, for example, uncolored, transparent, or translucent. Still further, unless specified otherwise herein, the “color” of an electrochromic transition is not limited to any particular wavelength or range of wavelengths. As understood by those of skill in the art, the choice of appropriate electrochromic and counter electrode materials governs the relevant optical transition.

In embodiments described herein, the electrochromic device reversibly cycles between a bleached state and a colored state. In some cases, when the device is in a bleached state, a potential is applied to the electrochromic stack 320 such that available ions in the stack reside primarily in the counter electrode 310. When the potential on the electrochromic stack is reversed, the ions are transported across the ion conducting layer 308 to the electrochromic material 306 and cause the material to transition to the colored state. In a similar way, the electrochromic device of embodiments described herein can be reversibly cycled between different tint levels (e.g., bleached state, darkest colored state, and intermediate levels between the bleached state and the darkest colored state).

Referring again to FIG. 3A, voltage source 316 may be configured to operate in conjunction with radiant and other environmental sensors. As described herein, voltage source 316 interfaces with a device controller (not shown in this figure). Additionally, voltage source 316 may interface with an energy management system that controls the electrochromic device according to various criteria such as the time of year, time of day, and measured environmental conditions. Such an energy management system, in conjunction with large area electrochromic devices (e.g., an electrochromic window), can dramatically lower the energy consumption of a building.

Any material having suitable optical, electrical, thermal, and mechanical properties may be used as substrate 302. Such substrates include, for example, glass, plastic, and mirror materials. Suitable glasses include either clear or tinted soda lime glass, including soda lime float glass. The glass may be tempered or untempered.

In many cases, the substrate is a glass pane sized for residential window applications. The size of such glass pane can vary widely depending on the specific needs of the residence. In other cases, the substrate is architectural glass. Architectural glass is typically used in commercial buildings, but may also be used in residential buildings, and typically, though not necessarily, separates an indoor environment from an outdoor environment. In certain embodiments, architectural glass is at least 20 inches by 20 inches, and can be much larger, for example, as large as about 80 inches by 120 inches. Architectural glass is typically at least about 2 mm thick, typically between about 3 mm and about 6 mm thick. Of course, electrochromic devices are scalable to substrates smaller or larger than architectural glass. Further, the electrochromic device may be provided on a mirror of any size and shape.

On top of substrate 302 is conductive layer 304. In certain embodiments, one or both of the conductive layers 304 and 314 is inorganic and/or solid. Conductive layers 304 and 314 may be made from a number of different materials, including conductive oxides, thin metallic coatings, conductive metal nitrides, and composite conductors. Typically, conductive layers 304 and 314 are transparent at least in the range of wavelengths where electrochromism is exhibited by the electrochromic layer. Transparent conductive oxides include metal oxides and metal oxides doped with one or more metals. Examples of such metal oxides and doped metal oxides include indium oxide, indium tin oxide, doped indium oxide, tin oxide, doped tin oxide, zinc oxide, aluminum zinc oxide, doped zinc oxide, ruthenium oxide, doped ruthenium oxide and the like. Since oxides are often used for these layers, they are sometimes referred to as “transparent conductive oxide” (TCO) layers. Thin metallic coatings that are substantially transparent may also be used.

The function of the conductive layers is to spread an electric potential provided by voltage source 316 over surfaces of the electrochromic stack 320 to interior regions of the stack, with relatively little ohmic potential drop. The electric potential is transferred to the conductive layers though electrical connections to the conductive layers. In some embodiments, bus bars, one in contact with conductive layer 304 and one in contact with conductive layer 314, provide the electric connection between the voltage source 316 and the conductive layers 304 and 314. The conductive layers 304 and 314 may also be connected to the voltage source 316 with other conventional means.

Overlaying conductive layer 304 is electrochromic layer 306. In some embodiments, electrochromic layer 306 is inorganic and/or solid. The electrochromic layer may contain any one or more of a number of different electrochromic materials, including metal oxides. Such metal oxides include tungsten oxide (WO3), molybdenum oxide (MoO3), niobium oxide (Nb2O5), titanium oxide (TiO2), copper oxide (CuO), iridium oxide (Ir2O3), chromium oxide (Cr2O3), manganese oxide (Mn2O3), vanadium oxide (V2O5), nickel oxide (Ni2O3), cobalt oxide (Co2O3) and the like. During operation, electrochromic layer 306 transfers ions to and receives ions from counter electrode layer 310 to cause optical transitions.

Generally, the colorization (or change in any optical property—e.g., absorbance, reflectance, and transmittance) of the electrochromic material is caused by reversible ion insertion into the material (e.g., intercalation) and a corresponding injection of a charge balancing electron. Typically some fraction of the ions responsible for the optical transition is irreversibly bound up in the electrochromic material. Some or all of the irreversibly bound ions are used to compensate “blind charge” in the material. In most electrochromic materials, suitable ions include lithium ions (Li+) and hydrogen ions (H+) (that is, protons). In some cases, however, other ions will be suitable. In various embodiments, lithium ions are used to produce the electrochromic phenomena. Intercalation of lithium ions into tungsten oxide (WO3-y (0<y≦˜0.3)) causes the tungsten oxide to change from transparent (bleached state) to blue (colored state).

Referring again to FIG. 3A, in electrochromic stack 320, ion conducting layer 308 is sandwiched between electrochromic layer 306 and counter electrode layer 310. In some embodiments, counter electrode layer 310 is inorganic and/or solid. The counter electrode layer may comprise one or more of a number of different materials that serve as a reservoir of ions when the electrochromic device is in the bleached state. During an electrochromic transition initiated by, for example, application of an appropriate electric potential, the counter electrode layer transfers some or all of the ions it holds to the electrochromic layer, changing the electrochromic layer to the colored state. Concurrently, in the case of NiWO, the counter electrode layer colors with the loss of ions.

In some embodiments, suitable materials for the counter electrode complementary to WO3 include nickel oxide (NiO), nickel tungsten oxide (NiWO), nickel vanadium oxide, nickel chromium oxide, nickel aluminum oxide, nickel manganese oxide, nickel magnesium oxide, chromium oxide (Cr2O3), manganese oxide (MnO2), and Prussian blue.

When charge is removed from a counter electrode 310 made of nickel tungsten oxide (that is, ions are transported from counter electrode 310 to electrochromic layer 306), the counter electrode layer will transition from a transparent state to a colored state.

In the depicted electrochromic device, between electrochromic layer 306 and counter electrode layer 310, there is the ion conducting layer 308. Ion conducting layer 308 serves as a medium through which ions are transported (in the manner of an electrolyte) when the electrochromic device transitions between the bleached state and the colored state. Preferably, ion conducting layer 308 is highly conductive to the relevant ions for the electrochromic and the counter electrode layers, but has sufficiently low electron conductivity that negligible electron transfer takes place during normal operation. A thin ion conducting layer with high ionic conductivity permits fast ion conduction and hence fast switching for high performance electrochromic devices. In certain embodiments, the ion conducting layer 308 is inorganic and/or solid.

Examples of suitable ion conducting layers (for electrochromic devices having a distinct IC layer) include silicates, silicon oxides, tungsten oxides, tantalum oxides, niobium oxides, and borates. These materials may be doped with different dopants, including lithium. Lithium doped silicon oxides include lithium silicon-aluminum-oxide. In some embodiments, the ion conducting layer comprises a silicate-based structure. In some embodiments, a silicon-aluminum-oxide (SiAlO) is used for the ion conducting layer 308.

Electrochromic device 300 may include one or more additional layers (not shown), such as one or more passive layers. Passive layers used to improve certain optical properties may be included in electrochromic device 300. Passive layers for providing moisture or scratch resistance may also be included in electrochromic device 300. For example, the conductive layers may be treated with anti-reflective or protective oxide or nitride layers. Other passive layers may serve to hermetically seal electrochromic device 300.

FIG. 3B is a schematic cross-section of an electrochromic device in a bleached state (or transitioning to a bleached state). In accordance with specific embodiments, an electrochromic device 400 includes a tungsten oxide electrochromic layer (EC) 406 and a nickel-tungsten oxide counter electrode layer (CE) 410. Electrochromic device 400 also includes a substrate 402, a conductive layer (CL) 404, an ion conducting layer (IC) 408, and conductive layer (CL) 414.

A power source 416 is configured to apply a potential and/or current to an electrochromic stack 420 through suitable connections (e.g., bus bars) to the conductive layers 404 and 414. In some embodiments, the voltage source is configured to apply a potential of a few volts in order to drive a transition of the device from one optical state to another. The polarity of the potential as shown in FIG. 3A is such that the ions (lithium ions in this example) primarily reside (as indicated by the dashed arrow) in nickel-tungsten oxide counter electrode layer 410

FIG. 3C is a schematic cross-section of electrochromic device 400 shown in FIG. 3B but in a colored state (or transitioning to a colored state). In FIG. 3C, the polarity of voltage source 416 is reversed, so that the electrochromic layer is made more negative to accept additional lithium ions, and thereby transition to the colored state. As indicated by the dashed arrow, lithium ions are transported across ion conducting layer 408 to tungsten oxide electrochromic layer 406. Tungsten oxide electrochromic layer 406 is shown in the colored state. Nickel-tungsten oxide counter electrode 410 is also shown in the colored state. As explained, nickel-tungsten oxide becomes progressively more opaque as it gives up (deintercalates) lithium ions. In this example, there is a synergistic effect where the transition to colored states for both layers 406 and 410 are additive toward reducing the amount of light transmitted through the stack and substrate.

As described above, an electrochromic device may include an electrochromic (EC) electrode layer and a counter electrode (CE) layer separated by an ionically conductive (IC) layer that is highly conductive to ions and highly resistive to electrons. As conventionally understood, the ionically conductive layer therefore prevents shorting between the electrochromic layer and the counter electrode layer. The ionically conductive layer allows the electrochromic and counter electrodes to hold a charge and thereby maintain their bleached or colored states. In electrochromic devices having distinct layers, the components form a stack which includes the ion conducting layer sandwiched between the electrochromic electrode layer and the counter electrode layer. The boundaries between these three stack components are defined by abrupt changes in composition and/or microstructure. Thus, the devices have three distinct layers with two abrupt interfaces.

In accordance with certain embodiments, the counter electrode and electrochromic electrodes are formed immediately adjacent one another, sometimes in direct contact, without separately depositing an ionically conducting layer. In some embodiments, electrochromic devices having an interfacial region rather than a distinct IC layer are employed. Such devices, and methods of fabricating them, are described in U.S. Pat. No. 8,300,298 and U.S. patent application Ser. No. 12/772,075 filed on Apr. 30, 2010, and U.S. patent application Ser. Nos. 12/814,277 and 12/814,279, filed on Jun. 11, 2010—each of the three patent applications and patent is entitled “Electrochromic Devices,” each names Zhongchun Wang et al. as inventors, and each is incorporated by reference herein in its entirety.

II. Window Controllers

A window controller is used to control the tint level of the electrochromic device of an electrochromic window. In some embodiments, the window controller is able to transition the electrochromic window between two tint states (levels), a bleached state and a colored state. In other embodiments, the controller can additionally transition the electrochromic window (e.g., having a single electrochromic device) to intermediate tint levels. In some disclosed embodiments, the window controller is able to transition the electrochromic window to four or more tint levels. Certain electrochromic windows allow intermediate tint levels by using two (or more) electrochromic lites in a single IGU, where each lite is a two-state lite. This is described in reference to FIGS. 2A and 2B in this section.

As noted above with respect to FIGS. 2A and 2B, in some embodiments, an electrochromic window can include an electrochromic device 400 on one lite of an IGU 200 and another electrochromic device 400 on the other lite of the IGU 200. If the window controller is able to transition each electrochromic device between two states, a bleached state and a colored state, the electrochromic window is able to attain four different states (tint levels), a colored state with both electrochromic devices being colored, a first intermediate state with one electrochromic device being colored, a second intermediate state with the other electrochromic device being colored, and a bleached state with both electrochromic devices being bleached. Embodiments of multi-pane electrochromic windows are further described in U.S. Pat. No. 8,270,059, naming Robin Friedman et al. as inventors, titled “MULTI-PANE ELECTROCHROMIC WINDOWS,” which is hereby incorporated by reference in its entirety.

In some embodiments, the window controller is able to transition an electrochromic window having an electrochromic device capable of transitioning between two or more tint levels. For example, a window controller may be able to transition the electrochromic window to a bleached state, one or more intermediate levels, and a colored state. In some other embodiments, the window controller is able to transition an electrochromic window incorporating an electrochromic device between any number of tint levels between the bleached state and the colored state. Embodiments of methods and controllers for transitioning an electrochromic window to an intermediate tint level or levels are further described in U.S. Pat. No. 8,254,013, naming Disha Mehtani et al. as inventors, titled “CONTROLLING TRANSITIONS IN OPTICALLY SWITCHABLE DEVICES,” which is hereby incorporated by reference in its entirety.

In some embodiments, a window controller can power one or more electrochromic devices in an electrochromic window. Typically, this function of the window controller is augmented with one or more other functions described in more detail below. Window controllers described herein are not limited to those that have the function of powering an electrochromic device to which it is associated for the purposes of control. That is, the power source for the electrochromic window may be separate from the window controller, where the controller has its own power source and directs application of power from the window power source to the window. However, it is convenient to include a power source with the window controller and to configure the controller to power the window directly, because it obviates the need for separate wiring for powering the electrochromic window.

Further, the window controllers described in this section are described as standalone controllers which may be configured to control the functions of a single window or a plurality of electrochromic windows, without integration of the window controller into a building control network or a building management system (BMS). Window controllers, however, may be integrated into a building control network or a BMS, as described further in the Building Management System section of this disclosure.

FIG. 4 depicts a block diagram of some components of a window controller 450 and other components of a window controller system of disclosed embodiments. FIG. 4 is a simplified block diagram of a window controller, and more detail regarding window controllers can be found in U.S. patent application Ser. Nos. 13/449,248 and 13/449,251, both naming Stephen Brown as inventor, both titled “CONTROLLER FOR OPTICALLY-SWITCHABLE WINDOWS,” and both filed on Apr. 17, 2012, and in U.S. patent Ser. No. 13/449,235, titled “CONTROLLING TRANSITIONS IN OPTICALLY SWITCHABLE DEVICES,” naming Stephen Brown et al. as inventors and filed on Apr. 17, 2012, all of which are hereby incorporated by reference in their entireties.

In FIG. 4, the illustrated components of the window controller 450 include a window controller 450 having a microprocessor 455 or other processor, a power width modulator (PWM) 460, a signal conditioning module 465, and a computer readable medium (e.g., memory) having a configuration file 475. Window controller 450 is in electronic communication with one or more electrochromic devices 400 in an electrochromic window through network 480 (wired or wireless) to send instructions to the one or more electrochromic devices 400. In some embodiments, the window controller 450 may be a local window controller in communication through a network (wired or wireless) to a master window controller.

In disclosed embodiments, a building may have at least one room having an electrochromic window between the exterior and interior of a building. One or more sensors may be located to the exterior of the building and/or inside the room. In embodiments, the output from the one or more sensors may be input to the signal conditioning module 465 of the window controller 450. In some cases, the output from the one or more sensors may be input to a BMS, as described further in the Building Management Systems section. Although the sensors of depicted embodiments are shown as located on the outside vertical wall of the building, this is for the sake of simplicity, and the sensors may be in other locations, such as inside the room or on other surfaces to the exterior, as well. In some cases, two or more sensors may be used to measure the same input, which can provide redundancy in case one sensor fails or has an otherwise erroneous reading.

FIG. 5 depicts a schematic diagram of a room 500 having an electrochromic window 505 with at least one electrochromic device. The electrochromic window 505 is located between the exterior and the interior of a building, which includes the room 500. The room 500 also includes a window controller 450 connected to and configured to control the tint level of the electrochromic window 505. An exterior sensor 510 is located on a vertical surface in the exterior of the building. In other embodiments, an interior sensor may also be used to measure the ambient light in room 500. In yet other embodiments, an occupant sensor may also be used to determine when an occupant is in the room 500.

Exterior sensor 510 is a device, such as a photosensor, that is able to detect radiant light incident upon the device flowing from a light source such as the sun or from light reflected to the sensor from a surface, particles in the atmosphere, clouds, etc. The exterior sensor 510 may generate a signal in the form of electrical current that results from the photoelectric effect and the signal may be a function of the light incident on the sensor 510. In some cases, the device may detect radiant light in terms of irradiance in units of watts/m² or other similar units. In other cases, the device may detect light in the visible range of wavelengths in units of foot candles or similar units. In many cases, there is a linear relationship between these values of irradiance and visible light.

Irradiance values from sunlight can be predicted based on the time of day and time of year as the angle at which sunlight strikes the earth changes. Exterior sensor 510 can detect radiant light in real-time, which accounts for reflected and obstructed light due to buildings, changes in weather (e.g., clouds), etc. For example, on cloudy days, sunlight would be blocked by the clouds and the radiant light detected by an exterior sensor 510 would be lower than on cloudless days.

In some embodiments, there may be one or more exterior sensors 510 associated with a single electrochromic window 505. Output from the one or more exterior sensors 510 could be compared to one another to determine, for example, if one of exterior sensors 510 is shaded by an object, such as by a bird that landed on exterior sensor 510. In some cases, it may be desirable to use relatively few sensors in a building because some sensors can be unreliable and/or expensive. In certain implementations, a single sensor or a few sensors may be employed to determine the current level of radiant light from the sun impinging on the building or perhaps one side of the building. A cloud may pass in front of the sun or a construction vehicle may park in front of the setting sun. These will result in deviations from the amount of radiant light from the sun calculated to normally impinge on the building.

Exterior sensor 510 may be a type of photosensor. For example, exterior sensor 510 may be a charge coupled device (CCD), photodiode, photoresistor, or photovoltaic cell. One of ordinary skill in the art would appreciate that future developments in photosensor and other sensor technology would also work, as they measure light intensity and provide an electrical output representative of the light level.

In some embodiments, output from exterior sensor 510 may be input to the signal conditioning module 465. The input may be in the form of a voltage signal to signal conditioning module 465. Signal conditioning module 465 passes an output signal to the window controller 450. Window controller 450 determines a tint level of the electrochromic window 505, based on various information from the configuration file 475, output from the signal conditioning module 465, override values. Window controller 450 and then instructs the PWM 460, to apply a voltage and/or current to electrochromic window 505 to transition to the desired tint level.

In disclosed embodiments, window controller 450 can instruct the PWM 460, to apply a voltage and/or current to electrochromic window 505 to transition it to any one of four or more different tint levels. In disclosed embodiments, electrochromic window 505 can be transitioned to at least eight different tint levels described as: 0 (lightest), 5, 10, 15, 20, 25, 30, and 35 (darkest). The tint levels may linearly correspond to visual transmittance values and solar gain heat coefficient (SGHC) values of light transmitted through the electrochromic window 505. For example, using the above eight tint levels, the lightest tint level of 0 may correspond to an SGHC value of 0.80, the tint level of 5 may correspond to an SGHC value of 0.70, the tint level of 10 may correspond to an SGHC value of 0.60, the tint level of 15 may correspond to an SGHC value of 0.50, the tint level of 20 may correspond to an SGHC value of 0.40, the tint level of 25 may correspond to an SGHC value of 0.30, the tint level of 30 may correspond to an SGHC value of 0.20, and the tint level of 35 (darkest) may correspond to an SGHC value of 0.10.

Window controller 450 or a master controller in communication with the window controller 450 may employ any one or more predictive control logic components to determine a desired tint level based on signals from the exterior sensor 510 and/or other input. The window controller 450 can instruct the PWM 460 to apply a voltage and/or current to electrochromic window 505 to transition it to the desired tint level.

III. An Example of Predictive Control Logic

In disclosed embodiments, predictive control logic is used to implement methods of determining and controlling a desired tint level for the electrochromic window 505 or other tintable window that accounts for occupant comfort and/or energy conservation considerations. This predictive control logic may employ one or more logic modules. FIGS. 6A-6C include diagrams depicting some information collected by each of three logic modules A, B, and C of an exemplary control logic of disclosed embodiments.

FIG. 6A shows the penetration depth of direct sunlight into a room 500 through an electrochromic window 505 between the exterior and the interior of a building, which includes the room 500. Penetration depth is a measure of how far direct sunlight will penetrate into the room 500. As shown, penetration depth is measured in a horizontal direction away from the sill (bottom) of window. Generally, the window defines an aperture that provides an acceptance angle for direct sunlight. The penetration depth is calculated based upon the geometry of the window (e.g., window dimensions), its position and orientation in the room, any fins or other exterior shading outside of the window, and the position of the sun (e.g. angle of direct sunlight for a particular time of day and date). Exterior shading to an electrochromic window 505 may be due to any type of structure that can shade the window such as an overhang, a fin, etc. In FIG. 6A, there is an overhang 520 above the electrochromic window 505 that blocks a portion of the direct sunlight entering the room 500 thus shortening the penetration depth. The room 500 also includes a local window controller 450 connected to and configured to control the tint level of the electrochromic window 505. An exterior sensor 510 is located on a vertical surface in the exterior of the building.

Module A can be used to determine a tint level that considers occupant comfort from direct sunlight through the electrochromic window 505 onto an occupant or their activity area. The tint level is determined based on a calculated penetration depth of direct sunlight into the room and the space type (e.g., desk near window, lobby, etc.) in the room at a particular instant in time. In some cases, the tint level may also be based on providing sufficient natural lighting into the room. In many cases, the penetration depth is the value calculated at a time in the future to account for glass transition time. The concern addressed in Module A is that direct sunlight may penetrate so deep into the room 500 as to show directly on an occupant working at a desk or other work surface in a room. Publicly available programs can provide calculation of the sun's position and allow for easy calculation of penetration depth.

FIG. 6A also shows a desk in the room 500 as an example of a space type associated with an activity area (i.e. desk) and location of the activity area (i.e. location of desk). Each space type is associated with different tint levels for occupant comfort. For example, if the activity is a critical activity such as work in an office being done at a desk or computer, and the desk is located near the window, the desired tint level may be higher than if the desk were further away from the window. As another example, if the activity is non-critical, such as the activity in a lobby, the desired tint level may be lower than for the same space having a desk.

FIG. 6B shows direct sunlight and radiation under clear sky conditions entering the room 500 through the electrochromic window 505. The radiation may be from sunlight scattered by molecules and particles in the atmosphere. Module B determines a tint level based on predicted values of irradiance under clear sky conditions flowing through the electrochromic window 505 under consideration. Various software, such as open source RADIANCE program, can be used to predict clear sky irradiance at a certain latitude, longitude, time of year, and time of day, and for a given window orientation.

FIG. 6C shows radiant light from the sky that is measured in real-time by an exterior sensor 510 to account for light that may be obstructed by or reflected from objects such as buildings or weather conditions (e.g., clouds) that are not accounted for in the clear sky predictions. The tint level determined by Module C is based on the real-time irradiance based on measurements taken by the exterior sensor 510.

The predictive control logic may implement one or more of the logic Modules A, B and C separately for each electrochromic window 505 in the building. Each electrochromic window 505 can have a unique set of dimensions, orientation (e.g., vertical, horizontal, tilted at an angle), position, associated space type, etc. A configuration file with this information and other information can be maintained for each electrochromic window 505. The configuration file 475 may be stored in the computer readable medium 470 of the local window controller 450 of the electrochromic window 505 or in the BMS described later in this disclosure. The configuration file 475 can include information such as a window configuration, an occupancy lookup table, information about an associated datum glass, and/or other data used by the predictive control logic. The window configuration may include information such as the dimensions of the electrochromic window 505, the orientation of the electrochromic window 505, the position of the electrochromic window 505, etc.

A lookup table describes tint levels that provide occupant comfort for certain space types and penetration depths. That is, the tint levels in the occupancy lookup table are designed to provide comfort to occupant(s) that may be in the room 500 from direct sunlight on the occupant(s) or their workspace. An example of an occupancy lookup table is shown in FIG. 10.

The space type is a measure to determine how much tinting will be required to address occupant comfort concerns for a given penetration depth and/or provide comfortable natural lighting in the room. The space type parameter may take into consideration many factors. Among these factors is the type of work or other activity being conducted in a particular room and the location of the activity. Close work associated with detailed study requiring great attention might be at one space type, while a lounge or a conference room might have a different space type. Additionally, the position of the desk or other work surface in the room with respect to the window is a consideration in defining the space type. For example, the space type may be associated with an office of a single occupant having a desk or other workspace located near the electrochromic window 505. As another example, the space type may be a lobby.

In certain embodiments, one or more modules of the predictive control logic can determine desired tint levels while accounting for energy conservation in addition to occupant comfort. These modules may determine energy savings associated with a particular tint level by comparing the performance of the electrochromic window 505 at that tint level to a datum glass or other standard reference window. The purpose of using this reference window can be to ensure that the predictive control logic conforms to requirements of the municipal building code or other requirements for reference windows used in the locale of the building. Often municipalities define reference windows using conventional low emissivity glass to control the amount of air conditioning load in the building. As an example of how the reference window 505 fits into the predictive control logic, the logic may be designed so that the irradiance coming through a given electrochromic window 505 is never greater than the maximum irradiance coming through a reference window as specified by the respective municipality. In disclosed embodiments, predictive control logic may use the solar heat gain coefficient (SHGC) value of the electrochromic window 505 at a particular tint level and the SHGC of the reference window to determine the energy savings of using the tint level. Generally, the value of the SHGC is the fraction of incident light of all wavelengths transmitted through the window. Although a datum glass is described in many embodiments, other standard reference windows can be used. Generally the SHGC of the reference window (e.g., datum glass) is a variable that can be different for different geographical locations and window orientations, and is based on code requirements specified by the respective municipality.

Generally, buildings are designed to have an HVAC with the capacity to fulfill the maximum expected heating and/or air-conditioning loads required at any given instance. The calculation of required capacity may take into consideration the datum glass or reference window required in a building at the particular location where the building is being constructed. Therefore, it is important that the predictive control logic meet or exceed the functional requirements of the datum glass in order to allow building designers to confidently determine how much HVAC capacity to put into a particular building. Since the predictive control logic can be used to tint the window to provide additional energy savings over the datum glass, the predictive control logic could be useful in allowing building designers to have a lower HVAC capacity than would have been required using the datum glass specified by the codes and standards.

Particular embodiments described herein assume that energy conservation is achieved by reducing air conditioning load in a building. Therefore, many of the implementations attempt to achieve the maximum tinting possible, while accounting for occupant comfort level and perhaps lighting load in a room having with the window under consideration. However, in some climates, such as those at far northern and for southern latitudes, heating may be more of a concern than air conditioning. Therefore, the predictive control logic can be modified, specifically, road reversed in some matters, so that less tinting occurs in order to ensure that the heating load of the building is reduced.

In certain implementations, the predictive control logic has only two independent variables that can be controlled by an occupant (end user), building designer, or building operator. These are the space types for a given window and the datum glass associated with the given window. Often the datum glass is specified when the predictive control logic is implemented for a given building. The space type can vary, but is typically static. In certain implementations, the space type may be part of the configuration file maintained by the building or stored in the local window controller 450. In some cases, the configuration file may be updated to account for various changes in the building. For example, if there is a change in the space type (e.g., desk moved in an office, addition of desk, lobby changed into office area, wall moved, etc.) in the building, an updated configuration file with a modified occupancy lookup table may be stored in the computer readable medium 470. As another example, if an occupant is hitting manual override repeatedly, then the configuration file may be updated to reflect the manual override.

FIG. 7 is a flowchart showing predictive control logic for a method of controlling one or more electrochromic windows 505 in a building, according to embodiments. The predictive control logic uses one or more of the Modules A, B, and C to calculate tint levels for the window(s) and sends instructions to transition the window(s). The calculations in the control logic are run 1 to n times at intervals timed by the timer at step 610. For example, the tint level can be recalculated 1 to n times by one or more of the Modules A, B, and C and calculated for instances in time t_(i)=t₁, t₂ . . . t_(n). n is the number of recalculations performed and n can be at least 1. The logic calculations can be done at constant time intervals in some cases. In one cases, the logic calculations may be done every 2 to 5 minutes. However, tint transition for large pieces of electrochromic glass can take up to 30 minutes or more. For these large windows, calculations may be done on a less frequent basis such as every 30 minutes.

At step 620, logic Modules A, B, and C perform calculations to determine a tint level for each electrochromic window 505 at a single instant in time t_(i). These calculations can be performed by the window controller 450. In certain embodiments, the predictive control logic predictively calculates how the window should transition in advance of the actual transition. In these cases, the calculations in Modules A, B, and C can be based on a future time around or after transition is complete. In these cases, the future time used in the calculations may be a time in the future that is sufficient to allow the transition to be completed after receiving the tint instructions. In these cases, the controller can send tint instructions in the present time in advance of the actual transition. By the completion of the transition, the window will have transitioned to a tint level that is desired for that time.

At step 630, the predictive control logic allows for certain types of overrides that disengage the algorithm at Modules A, B, and C and define override tint levels at step 640 based on some other consideration. One type of override is a manual override. This is an override implemented by an end user who is occupying a room and determines that a particular tint level (override value) is desirable. There may be situations where the user's manual override is itself overridden. An example of an override is a high demand (or peak load) override, which is associated with a requirement of a utility that energy consumption in the building be reduced. For example, on particularly hot days in large metropolitan areas, it may be necessary to reduce energy consumption throughout the municipality in order to not overly tax the municipality's energy generation and delivery systems. In such cases, the building may override the tint level from the predictive control logic described herein to ensure that all windows have a particularly high level of tinting. Another example of an override may be if there is no occupant in the room example weekend sin a commercial office building. In these cases, the building may disengage one or more Modules that relate to occupant comfort and all the windows may have a high level of tinting in cold weather and low level of tinting in warm weather.

At step 650, the tint levels are transmitted over a network to electrochromic device(s) in one or more electrochromic windows 505 in the building. In certain embodiments, the transmission of tint levels to all windows of a building may be implemented with efficiency in mind. For example, if the recalculation of tint level suggests that no change in tint from the current tint level is required, then there is no transmission of instructions with an updated tint level. As another example, the building may be divided into zones based on window size. The predictive control logic may recalculate tint levels for zones with smaller windows more frequently than for zones with larger windows.

In some embodiments, the logic in FIG. 7 for implementing the control methods for multiple electrochromic windows 505 in an entire building can be on a single device, for example, a single master window controller. This device can perform the calculations for each and every window in the building and also provide an interface for transmitting tint levels to one or more electrochromic devices in individual electrochromic windows 505.

Also, there may be certain adaptive components of the predictive control logic of embodiments. For example, the predictive control logic may determine how an end user (e.g. occupant) tries to override the algorithm at particular times of day and makes use of this information in a more predictive manner to determine desired tint levels. In one case, the end user may be using a wall switch to override the tint level provided by the predictive logic at a certain time each day to an override value. The predictive control logic may receive information about these instances and change the predictive control logic to change the tint level to the override value at that time of day.

FIG. 8 is a diagram showing a particular implementation of block 620 from FIG. 7. This diagram shows a method of performing all three Modules A, B, and C in sequence to calculate a final tint level of a particular electrochromic window 505 for a single instant in time t_(i). The final tint level may be the maximum permissible transmissivity of the window under consideration. FIG. 8 also includes some exemplary inputs and outputs of Modules A, B, and C. The calculations in Modules A, B, and C are performed by window controller 450 in local window controller 450 in embodiments. In other embodiments, one or more of the modules can be performed by another processor. Although illustrated embodiments show all three Modules A, B, and C being used, other embodiments may use one or more of the Modules A, B, and C or may use additional modules.

At step 700, window controller 450 uses Module A to determine a tint level for occupant comfort to prevent direct glare from sunlight penetrating the room 500. Window controller 450 uses Module A to calculate the penetration depth of direct sunlight into the room 500 based on the sun's position in the sky and the window configuration from the configuration file. The position of the sun is calculated based on the latitude and longitude of the building and the time of day and date. The occupancy lookup table and space type are input from a configuration file for the particular window. Module A outputs the Tint level from A to Module B.

The goal of Module A is to ensure that direct sunlight or glare does not strike the occupant or his or her workspace. The tint level from Module A is determined to accomplish this purpose. Subsequent calculations of tint level in Modules B and C can reduce energy consumption and may require even greater tint. However, if subsequent calculations of tint level based on energy consumption suggest less tinting than required to avoid interfering with the occupant, the predictive logic prevents the calculated greater level of transmissivity from being executed to assure occupant comfort.

At step 800, the tint level calculated in Module A is input into Module B. A tint level is calculated based on predictions of irradiance under clear sky conditions (clear sky irradiance). Window controller 450 uses Module B to predict clear sky irradiance for the electrochromic window 505 based on window orientation from the configuration file and based on latitude and longitude of the building. These predictions are also based on a time of day and date. Publicly available software such as the RADIANCE program, which is an open-source program, can provide the calculations for predicting clear sky irradiance. The SHGC of the datum glass is also input into Module B from the configuration file. Window controller 450 uses Module B to determine a tint level that is darker than the tint level in A and transmits less heat than the datum glass is predicted to transmit under maximum clear sky irradiance. Maximum clear sky irradiance is the highest level of irradiance for all times predicted for clear sky conditions.

At step 900, a tint level from B and predicted clear sky irradiance are input to Module C. Real-time irradiance values are input to Module C based on measurements from an exterior sensor 510. Window controller 450 uses Module C to calculate irradiance transmitted into the room if the window were tinted to the Tint level from Module B under clear sky conditions. Window controller 450 uses Module C to find the appropriate tint level where the actual irradiance through the window with this tint level is less than or equal to the irradiance through the window with the Tint level from Module B. The tint level determined in Module C is the final tint level.

Much of the information input to the predictive control logic is determined from fixed information about the latitude and longitude, time and date. This information describes where the sun is with respect to the building, and more particularly with respect to the window for which the predictive control logic is being implemented. The position of the sun with respect to the window provides information such as the penetration depth of direct sunlight into the room assisted with the window. It also provides an indication of the maximum irradiance or solar radiant energy flux coming through the window. This calculated level of irradiance can be modified by sensor input which might indicate that there is a reduction from the maximum amount of irradiance. Again, such reduction might be caused by a cloud or other obstruction between the window and the sun.

FIG. 9 is a flowchart showing details of step 700 of FIG. 8. At step 705, Module A begins. At step 710, the window controller 450 uses Module A to calculate the position of the sun for the latitude and longitude coordinates of the building and the date and time of day of a particular instant in time, t_(i). The latitude and longitude coordinates may be input from the configuration file. The date and time of day may be based on the current time provided by the timer. The sun position is calculated at the particular instant in time, t_(i), which may be in the future in some cases. In other embodiments, the position of the sun is calculated in another component (e.g., module) of the predictive control logic.

At step 720, window controller 450 uses Module A to calculate the penetration depth of direct sunlight into the room 500 at the particular instant in time used in step 710. Module A calculates the penetration depth based on the calculated position of the sun and window configuration information including the position of the window, dimensions of the window, orientation of the window (i.e. direction facing), and the details of any exterior shading. The window configuration information is input from the configuration file associated with the electrochromic window 505. For example, Module A can be used to calculate the penetration depth of the vertical window shown in FIG. 6A by first calculating the angle θ of the direct sunlight based on the position of the sun calculated at the particular instant in time. The penetration depth can be determined based on calculated angle θ and the location of the lintel (top of the window).

At step 730, a tint level is determined that will provide occupant comfort for the penetration depth calculated in step 720. The occupancy lookup table is used to find a desired tint level for the space type associated with the window, for the calculated penetration depth, and for the acceptance angle of the window. The space type and occupancy lookup table are provided as input from the configuration file for the particular window.

An example of an occupancy lookup table is provided in FIG. 10. The values in the table are in terms of a Tint level and associated SGHC values in parenthesis. FIG. 10 shows the different tint levels (SGHC values) for different combinations of calculated penetration values and space types. The table is based on eight tint levels including 0 (lightest), 5, 10, 15, 20, 25, 30, and 35 (lightest). The lightest tint level of 0 corresponds to an SGHC value of 0.80, the tint level of 5 corresponds to an SGHC value of 0.70, the tint level of 10 corresponds to an SGHC value of 0.60, the tint level of 15 corresponds to an SGHC value of 0.50, the tint level of 20 corresponds to an SGHC value of 0.40, the tint level of 25 corresponds to an SGHC value of 0.30, the tint level of 30 corresponds to an SGHC value of 0.20, and the tint level of 35 (darkest) corresponds to an SGHC value of 0.10. The illustrated example includes three space types: Desk 1, Desk 2, and Lobby and six penetration depths. FIG. 11A shows the location of Desk 1 in the room 500. FIG. 11B shows the location of Desk 2 in the room 500. As shown in the occupancy lookup table of FIG. 10, the tint levels for Desk 1 close to the window are higher than the tint levels for Desk 2 far from window to prevent glare when the desk is closer to the window. Occupancy lookup tables with other values may be used in other embodiments. For example, one other occupancy lookup table may include only four tint levels associated with the penetration values. Another example of an occupancy table with four tint levels associated with four penetration depths is shown in FIG. 20.

FIG. 12 is a diagram showing further detail of step 800 of FIG. 8. At step 805, Module B begins. At step 810, Module B can be used to predict the irradiance at the window under clear sky conditions at t_(i). This clear sky irradiance at t_(i) is predicted based on the latitude and longitude coordinates of the building and the window orientation (i.e. direction the window is facing). At step 820, the Maximum Clear Sky Irradiance incident the window at all times is predicted. These predicted values of clear sky irradiance can be calculated using open source software, such as Radiance.

At step 830, the window controller 450 uses Module B to determine the maximum amount of irradiance that would be transmitted through a datum glass into the room 500 at that time (i.e. determines Maximum Datum Inside Irradiance). The calculated Maximum Clear Sky Irradiance from step 820 and the datum glass SHGC value from the configuration file can be used to calculate the Maximum Irradiance inside the space using the equation: Maximum Datum Inside Irradiance=Datum Glass SHGC×Maximum Clear Sky Irradiance.

At step 840, window controller 450 uses Module B to determine inside irradiance into the room 500 having a window with the current tint level based on the equation. The calculated Clear Sky Irradiance from step 810 and the SHGC value associated with the current tint level can be used to calculate the value of the inside irradiance using the equation: Tint level Irradiance=Tint level SHGC×Clear Sky Irradiance.

In one embodiment, one or more the steps 705, 810 and 820 may be performed by a solar position calculator separate from Modules A and B. A solar position calculator refers to logic that determines the position of the sun at a particular future time and makes predictive determinations (e.g., predicts clear sky irradiance) based on the sun's position at that future time. The solar position calculator may perform one or more steps of the methods disclosed herein. The solar position calculator may be a portion of the predictive control logic performed by one or more of the components of the master window controller (e.g., master window controller 1402 depicted in FIG. 17). For example, the solar position calculator may be part of the predictive control logic shown in FIG. 18 implemented by the window controller 1410 (shown in FIG. 17).

At step 850, window controller 450 uses Module B to determine whether the inside irradiance based on the current tint level is less than or equal to the maximum datum inside irradiance and the tint level is darker than the tint level from A. If the determination is NO, the current tint level is incrementally increased (darkened) at step 860 and the inside irradiance is recalculated at step 840. If the determination is YES at step 850, Module B ends.

FIG. 13 is a diagram showing further detail of step 900 of FIG. 8. At step 905, Module C begins. A tint level from B and predicted clear sky irradiance at the instant in time t_(i) is input from Module B. Real-time irradiance values are input to Module C based on measurements from an exterior sensor 510.

At step 910, window controller 450 uses Module C to calculate irradiance transmitted into the room through an electrochromic window 505 tinted to the Tint level from B under clear sky conditions. This Calculated Inside Irradiance can be determined using the equation: Calculated Inside Irradiance=SHGC of Tint Level from B×Predicted Clear Sky Irradiance from B.

At step 920, window controller 450 uses Module C to find the appropriate tint level where the actual irradiance (=SR×Tint level SHGC) through the window with this tint level is less than or equal to the irradiance through the window with the Tint level from B (i.e. Actual Inside Irradiance≦Calculated Inside Irradiance). In some cases, the module logic starts with the tint level from B and incrementally increases the tint level until the Actual Inside Irradiance≦Calculated Inside Irradiance. The tint level determined in Module C is the final tint level. This final tint level may be transmitted in tint instructions over the network to the electrochromic device(s) in the electrochromic window 505.

FIG. 14 is a diagram includes another implementation of block 620 from FIG. 7. This diagram shows a method of performing Modules A, B, and C of embodiments. In this method, the position of the sun is calculated based on the latitude and longitude coordinates of the building for a single instant in time t_(i). The penetration depth is calculated in Module A based on the window configuration including a position of the window, dimensions of the window, orientation of the window, and information about any external shading. Module A uses a lookup table to determine the tint level from A based on the calculated penetration and the space type. The tint level from A is then input into Module B.

A program such as the open source program Radiance, is used to determine clear sky irradiance based on window orientation and latitude and longitude coordinates of the building for both a single instant in time t_(i) and a maximum value for all times. The datum glass SHGC and calculated maximum clear sky irradiance are input into Module B. Module B increases the tint level calculated in Module A in steps and picks a tint level where the Inside radiation is less than or equal to the Datum Inside Irradiance where: Inside Irradiance=Tint level SHGC×Clear Sky Irradiance and Datum Inside Irradiance=Datum SHGC×Maximum Clear Sky Irradiance. However, when Module A calculates the maximum tint of the glass, module B doesn't change the tint to make it lighter. The tint level calculated in B is then input into Module C. The predicted clear sky irradiance is also input into Module C.

Module C calculates the inside irradiance in the room with an electrochromic window 505 having the tint level from B using the equation: Calculated Inside Irradiance=SHGC of Tint Level from B×Predicted Clear Sky Irradiance from B. Module C then finds the appropriate tint level that meets the condition where actual inside irradiance is less than or equal to the Calculated Inside Irradiance. The actual inside irradiance is determined using the equation: Actual Inside Irradiance=SR×Tint level SHGC. The tint level determined by Module C is the final tint level in tint instructions sent to the electrochromic window 505.

IV. Building Management Systems (BMSs)

The window controllers described herein also are suited for integration with a BMS. A BMS is a computer-based control system installed in a building that monitors and controls the building's mechanical and electrical equipment such as ventilation, lighting, power systems, elevators, fire systems, and security systems. A BMS consists of hardware, including interconnections by communication channels to a computer or computers, and associated software for maintaining conditions in the building according to preferences set by the occupants and/or by the building manager. For example, a BMS may be implemented using a local area network, such as Ethernet. The software can be based on, for example, internet protocols and/or open standards. One example of software is software from Tridium, Inc. (of Richmond, Va.). One communications protocol commonly used with a BMS is BACnet (building automation and control networks).

A BMS is most common in a large building, and typically functions at least to control the environment within the building. For example, a BMS may control temperature, carbon dioxide levels, and humidity within a building. Typically, there are many mechanical devices that are controlled by a BMS such as heaters, air conditioners, blowers, vents, and the like. To control the building environment, a BMS may turn on and off these various devices under defined conditions. A core function of a typical modern BMS is to maintain a comfortable environment for the building's occupants while minimizing heating and cooling costs/demand. Thus, a modern BMS is used not only to monitor and control, but also to optimize the synergy between various systems, for example, to conserve energy and lower building operation costs.

In some embodiments, a window controller is integrated with a BMS, where the window controller is configured to control one or more electrochromic windows 505 or other tintable windows. In one embodiment, the one or more electrochromic windows include at least one all solid state and inorganic electrochromic device. In one embodiment, the one or more electrochromic windows include only all solid state and inorganic windows. In one embodiment, the electrochromic windows are multistate electrochromic windows, as described in U.S. patent application Ser. No. 12/851,514, filed on Aug. 5, 2010, and entitled “Multipane Electrochromic Windows.”

FIG. 15 depicts a schematic diagram of an embodiment of a BMS 1100, that manages a number of systems of a building 1101, including security systems, heating/ventilation/air conditioning (HVAC), lighting of the building, power systems, elevators, fire systems, and the like. Security systems may include magnetic card access, turnstiles, solenoid driven door locks, surveillance cameras, burglar alarms, metal detectors, and the like. Fire systems may include fire alarms and fire suppression systems including a water plumbing control. Lighting systems may include interior lighting, exterior lighting, emergency warning lights, emergency exit signs, and emergency floor egress lighting. Power systems may include the main power, backup power generators, and uninterrupted power source (UPS) grids.

Also, BMS 1100 manages a master window controller 1102. In this example, master window controller 1102 is depicted as a distributed network of window controllers including a master network controller, 1103, intermediate network controllers, 1105 a and 1105 b, and end or leaf controllers 1110. End or leaf controllers 1110 may be similar to window controller 450 described with respect to FIG. 4. For example, master network controller 1103 may be in proximity to the BMS 1100, and each floor of building 1101 may have one or more intermediate network controllers 1105 a and 1105 b, while each window of the building has its own end controller 1110. In this example, each of controllers 1110 controls a specific electrochromic window of building 1101.

Each of controllers 1110 can be in a separate location from the electrochromic window that it controls, or be integrated into the electrochromic window. For simplicity, only ten electrochromic windows of building 1101 are depicted as controlled by master window controller 1102. In a typical setting there may be a large number of electrochromic windows in a building controlled by master window controller 1102. Master window controller 1102 need not be a distributed network of window controllers. For example, a single end controller which controls the functions of a single electrochromic window also falls within the scope of the embodiments disclosed herein, as described above. Advantages and features of incorporating electrochromic window controllers as described herein with BMSs are described below in more detail and in relation to FIG. 15, where appropriate.

One aspect of the disclosed embodiments is a BMS including a multipurpose electrochromic window controller as described herein. By incorporating feedback from a electrochromic window controller, a BMS can provide, for example, enhanced: 1) environmental control, 2) energy savings, 3) security, 4) flexibility in control options, 5) improved reliability and usable life of other systems due to less reliance thereon and therefore less maintenance thereof, 6) information availability and diagnostics, 7) effective use of staff, and various combinations of these, because the electrochromic windows can be automatically controlled.

In some embodiments, a BMS may not be present or a BMS may be present but may not communicate with a master network controller or communicate at a high level with a master network controller. In some embodiments, a master network controller can provide, for example, enhanced: 1) environmental control, 2) energy savings, 3) flexibility in control options, 4) improved reliability and usable life of other systems due to less reliance thereon and therefore less maintenance thereof, 5) information availability and diagnostics, 6) effective use of staff, and various combinations of these, because the electrochromic windows can be automatically controlled. In these embodiments, maintenance on the BMS would not interrupt control of the electrochromic windows.

FIG. 16 depicts a block diagram of an embodiment of a building network 1200 for a building. As noted above, network 1200 may employ any number of different communication protocols, including BACnet. As shown, building network 1200 includes a master network controller 1205, a lighting control panel 1210, a building management system (BMS) 1215, a security control system, 1220, and a user console, 1225. These different controllers and systems in the building may be used to receive input from and/or control a HVAC system 1230, lights 1235, security sensors 1240, door locks 1245, cameras 1250, and tintable windows 1255, of the building.

Master network controller 1205 may function in a similar manner as master network controller 1103 described with respect to FIG. 15. Lighting control panel 1210 may include circuits to control the interior lighting, the exterior lighting, the emergency warning lights, the emergency exit signs, and the emergency floor egress lighting. Lighting control panel 1210 also may include occupancy sensors in the rooms of the building. BMS 1215 may include a computer server that receives data from and issues commands to the other systems and controllers of network 1200. For example, BMS 1215 may receive data from and issue commands to each of the master network controller 1205, lighting control panel 1210, and security control system 1220. Security control system 1220 may include magnetic card access, turnstiles, solenoid driven door locks, surveillance cameras, burglar alarms, metal detectors, and the like. User console 1225 may be a computer terminal that can be used by the building manager to schedule operations of, control, monitor, optimize, and troubleshoot the different systems of the building. Software from Tridium, Inc. may generate visual representations of data from different systems for user console 1225.

Each of the different controls may control individual devices/apparatus. Master network controller 1205 controls windows 1255. Lighting control panel 1210 controls lights 1235. BMS 1215 may control HVAC 1230. Security control system 1220 controls security sensors 1240, door locks 1245, and cameras 1250. Data may be exchanged and/or shared between all of the different devices/apparatus and controllers that are part of building network 1200.

In some cases, the systems of BMS 1100 or building network 1200 may run according to daily, monthly, quarterly, or yearly schedules. For example, the lighting control system, the window control system, the HVAC, and the security system may operate on a 24 hour schedule accounting for when people are in the building during the work day. At night, the building may enter an energy savings mode, and during the day, the systems may operate in a manner that minimizes the energy consumption of the building while providing for occupant comfort. As another example, the systems may shut down or enter an energy savings mode over a holiday period.

The scheduling information may be combined with geographical information. Geographical information may include the latitude and longitude of the building. Geographical information also may include information about the direction that each side of the building faces. Using such information, different rooms on different sides of the building may be controlled in different manners. For example, for east facing rooms of the building in the winter, the window controller may instruct the windows to have no tint in the morning so that the room warms up due to sunlight shining in the room and the lighting control panel may instruct the lights to be dim because of the lighting from the sunlight. The west facing windows may be controllable by the occupants of the room in the morning because the tint of the windows on the west side may have no impact on energy savings. However, the modes of operation of the east facing windows and the west facing windows may switch in the evening (e.g., when the sun is setting, the west facing windows are not tinted to allow sunlight in for both heat and lighting).

Described below is an example of a building, for example, like building 1101 in FIG. 15, including a building network or a BMS, tintable windows for the exterior windows of the building (i.e., windows separating the interior of the building from the exterior of the building), and a number of different sensors. Light from exterior windows of a building generally has an effect on the interior lighting in the building about 20 feet or about 30 feet from the windows. That is, space in a building that is more that about 20 feet or about 30 feet from an exterior window receives little light from the exterior window. Such spaces away from exterior windows in a building are lit by lighting systems of the building.

Further, the temperature within a building may be influenced by exterior light and/or the exterior temperature. For example, on a cold day and with the building being heated by a heating system, rooms closer to doors and/or windows will lose heat faster than the interior regions of the building and be cooler compared to the interior regions.

For exterior sensors, the building may include exterior sensors on the roof of the building. Alternatively, the building may include an exterior sensor associated with each exterior window (e.g., as described in relation to FIG. 5, room 500) or an exterior sensor on each side of the building. An exterior sensor on each side of the building could track the irradiance on a side of the building as the sun changes position throughout the day.

Regarding the methods described with respect to FIGS. 7, 8, 9, 12, 13, and 14, when a window controller is integrated into a building network or a BMS, outputs from exterior sensors 510 may be input to a network of BMS and provided as input to the local window controller 450. For example, in some embodiments, output signals from any two or more sensors are received. In some embodiments, only one output signal is received, and in some other embodiments, three, four, five, or more outputs are received. These output signals may be received over a building network or a BMS.

In some embodiments, the output signals received include a signal indicating energy or power consumption by a heating system, a cooling system, and/or lighting within the building. For example, the energy or power consumption of the heating system, the cooling system, and/or the lighting of the building may be monitored to provide the signal indicating energy or power consumption. Devices may be interfaced with or attached to the circuits and/or wiring of the building to enable this monitoring. Alternatively, the power systems in the building may be installed such that the power consumed by the heating system, a cooling system, and/or lighting for an individual room within the building or a group of rooms within the building can be monitored.

Tint instructions can be provided to change to tint of the tintable window to the determined level of tint. For example, referring to FIG. 15, this may include master network controller 1103 issuing commands to one or more intermediate network controllers 1105 a and 1105 b, which in turn issue commands to end controllers 1110 that control each window of the building. End controllers 1100 may apply voltage and/or current to the window to drive the change in tint pursuant to the instructions.

In some embodiments, a building including electrochromic windows and a BMS may be enrolled in or participate in a demand response program run by the utility or utilities providing power to the building. The program may be a program in which the energy consumption of the building is reduced when a peak load occurrence is expected. The utility may send out a warning signal prior to an expected peak load occurrence. For example, the warning may be sent on the day before, the morning of, or about one hour before the expected peak load occurrence. A peak load occurrence may be expected to occur on a hot summer day when cooling systems/air conditioners are drawing a large amount of power from the utility, for example. The warning signal may be received by the BMS of the building or by window controllers configured to control the electrochromic windows in the building. This warning signal can be an override mechanism that disengages the Modules A, B, and C as shown in FIG. 7. The BMS can then instruct the window controller(s) to transition the appropriate electrochromic device in the electrochromic windows 505 to a dark tint level aid in reducing the power draw of the cooling systems in the building at the time when the peak load is expected.

In some embodiments, tintable windows for the exterior windows of the building (i.e., windows separating the interior of the building from the exterior of the building), may be grouped into zones, with tintable windows in a zone being instructed in a similar manner. For example, groups of electrochromic windows on different floors of the building or different sides of the building may be in different zones. For example, on the first floor of the building, all of the east facing electrochromic windows may be in zone 1, all of the south facing electrochromic windows may be in zone 2, all of the west facing electrochromic windows may be in zone 3, and all of the north facing electrochromic windows may be in zone 4. As another example, all of the electrochromic windows on the first floor of the building may be in zone 1, all of the electrochromic windows on the second floor may be in zone 2, and all of the electrochromic windows on the third floor may be in zone 3. As yet another example, all of the east facing electrochromic windows may be in zone 1, all of the south facing electrochromic windows may be in zone 2, all of the west facing electrochromic windows may be in zone 3, and all of the north facing electrochromic windows may be in zone 4. As yet another example, east facing electrochromic windows on one floor could be divided into different zones. Any number of tintable windows on the same side and/or different sides and/or different floors of the building may be assigned to a zone.

In some embodiments, electrochromic windows in a zone may be controlled by the same window controller. In some other embodiments, electrochromic windows in a zone may be controlled by different window controllers, but the window controllers may all receive the same output signals from sensors and use the same function or lookup table to determine the level of tint for the windows in a zone.

In some embodiments, electrochromic windows in a zone may be controlled by a window controller or controllers that receive an output signal from a transmissivity sensor. In some embodiments, the transmissivity sensor may be mounted proximate the windows in a zone. For example, the transmissivity sensor may be mounted in or on a frame containing an IGU (e.g., mounted in or on a mullion, the horizontal sash of a frame) included in the zone. In some other embodiments, electrochromic windows in a zone that includes the windows on a single side of the building may be controlled by a window controller or controllers that receive an output signal from a transmissivity sensor.

In some embodiments, a sensor (e.g., photosensor) may provide an output signal to a window controller to control the electrochromic windows 505 of a first zone (e.g., a master control zone). The window controller may also control the electrochromic windows 505 in a second zone (e.g., a slave control zone) in the same manner as the first zone. In some other embodiments, another window controller may control the electrochromic windows 505 in the second zone in the same manner as the first zone.

In some embodiments, a building manager, occupants of rooms in the second zone, or other person may manually instruct (using a tint or clear command or a command from a user console of a BMS, for example) the electrochromic windows in the second zone (i.e., the slave control zone) to enter a tint level such as a colored state (level) or a clear state. In some embodiments, when the tint level of the windows in the second zone is overridden with such a manual command, the electrochromic windows in the first zone (i.e., the master control zone) remain under control of the window controller receiving output from the transmissivity sensor. The second zone may remain in a manual command mode for a period of time and then revert back to be under control of the window controller receiving output from the transmissivity sensor. For example, the second zone may stay in a manual mode for one hour after receiving an override command, and then may revert back to be under control of the window controller receiving output from the transmissivity sensor.

In some embodiments, a building manager, occupants of rooms in the first zone, or other person may manually instruct (using a tint command or a command from a user console of a BMS, for example) the windows in the first zone (i.e., the master control zone) to enter a tint level such as a colored state or a clear state. In some embodiments, when the tint level of the windows in the first zone is overridden with such a manual command, the electrochromic windows in the second zone (i.e., the slave control zone) remain under control of the window controller receiving outputs from the exterior sensor. The first zone may remain in a manual command mode for a period of time and then revert back to be under control of window controller receiving output from the transmissivity sensor. For example, the first zone may stay in a manual mode for one hour after receiving an override command, and then may revert back to be under control of the window controller receiving output from the transmissivity sensor. In some other embodiments, the electrochromic windows in the second zone may remain in the tint level that they are in when the manual override for the first zone is received. The first zone may remain in a manual command mode for a period of time and then both the first zone and the second zone may revert back to be under control of the window controller receiving output from the transmissivity sensor.

Any of the methods described herein of control of a tintable window, regardless of whether the window controller is a standalone window controller or is interfaced with a building network, may be used control the tint of a tintable window.

Wireless or Wired Communication

In some embodiments, window controllers described herein include components for wired or wireless communication between the window controller, sensors, and separate communication nodes. Wireless or wired communications may be accomplished with a communication interface that interfaces directly with the window controller. Such interface could be native to the microprocessor or provided via additional circuitry enabling these functions.

A separate communication node for wireless communications can be, for example, another wireless window controller, an end, intermediate, or master window controller, a remote control device, or a BMS. Wireless communication is used in the window controller for at least one of the following operations: programming and/or operating the electrochromic window 505, collecting data from the EC window 505 from the various sensors and protocols described herein, and using the electrochromic window 505 as a relay point for wireless communication. Data collected from electrochromic windows 505 also may include count data such as number of times an EC device has been activated, efficiency of the EC device over time, and the like. These wireless communication features is described in more detail below.

In one embodiment, wireless communication is used to operate the associated electrochromic windows 505, for example, via an infrared (IR), and/or radio frequency (RF) signal. In certain embodiments, the controller will include a wireless protocol chip, such as Bluetooth, EnOcean, WiFi, Zigbee, and the like. Window controllers may also have wireless communication via a network. Input to the window controller can be manually input by an end user at a wall switch, either directly or via wireless communication, or the input can be from a BMS of a building of which the electrochromic window is a component.

In one embodiment, when the window controller is part of a distributed network of controllers, wireless communication is used to transfer data to and from each of a plurality of electrochromic windows via the distributed network of controllers, each having wireless communication components. For example, referring again to FIG. 15, master network controller 1103, communicates wirelessly with each of intermediate network controllers 1105 a and 1105 b, which in turn communicate wirelessly with end controllers 1110, each associated with an electrochromic window. Master network controller 1103 may also communicate wirelessly with the BMS 1100. In one embodiment, at least one level of communication in the window controller is performed wirelessly.

In some embodiments, more than one mode of wireless communication is used in the window controller distributed network. For example, a master window controller may communicate wirelessly to intermediate controllers via WiFi or Zigbee, while the intermediate controllers communicate with end controllers via Bluetooth, Zigbee, EnOcean, or other protocol. In another example, window controllers have redundant wireless communication systems for flexibility in end user choices for wireless communication.

Wireless communication between, for example, master and/or intermediate window controllers and end window controllers offers the advantage of obviating the installation of hard communication lines. This is also true for wireless communication between window controllers and BMS. In one aspect, wireless communication in these roles is useful for data transfer to and from electrochromic windows for operating the window and providing data to, for example, a BMS for optimizing the environment and energy savings in a building. Window location data as well as feedback from sensors are synergized for such optimization. For example, granular level (window-by-window) microclimate information is fed to a BMS in order to optimize the building's various environments.

VI. Example of System for Controlling Functions of Tintable Windows

FIG. 17 is a block diagram of components of a system 1400 for controlling functions (e.g., transitioning to different tint levels) of one or more tintable windows of a building (e.g., building 1101 shown in FIG. 15), according to embodiments. System 1400 may be one of the systems managed by a BMS (e.g., BMS 1100 shown in FIG. 15) or may operate independently of a BMS.

System 1400 includes a master window controller 1402 that can send control signals to the tintable windows to control its functions. System 1400 also includes a network 1410 in electronic communication with master window controller 1402. The predictive control logic, other control logic and instructions for controlling functions of the tintable window(s), and/or sensor data may be communicated to the master window controller 1402 through the network 1410. Network 1410 can be a wired or wireless network (e.g. cloud network). In one embodiment, network 1410 may be in communication with a BMS to allow the BMS to send instructions for controlling the tintable window(s) through network 1410 to the tintable window(s) in a building.

System 1400 also includes EC devices 400 of the tintable windows (not shown) and wall switches 1490, which are both in electronic communication with master window controller 1402. In this illustrated example, master window controller 1402 can send control signals to EC device(s) 400 to control the tint level of the tintable windows having the EC device(s) 400. Each wall switch 1490 is also in communication with EC device(s) 400 and master window controller 1402. An end user (e.g., occupant of a room having the tintable window) can use the wall switch 1490 to control the tint level and other functions of the tintable window having the EC device(s) 400.

In FIG. 17, master window controller 1402 is depicted as a distributed network of window controllers including a master network controller 1403, a plurality of intermediate network controllers 1405 in communication with the master network controller 1403, and multiple pluralities of end or leaf window controllers 1410. Each plurality of end or leaf window controllers 1410 is in communication with a single intermediate network controller 1405. Although master window controller 1402 is illustrated as a distributed network of window controllers, master window controller 1402 could also be a single window controller controlling the functions of a single tintable window in other embodiments. The components of the system 1400 in FIG. 17 may be similar in some respects to components described with respect to FIG. 15. For example, master network controller 1403 may be similar to master network controller 1103 and intermediate network controllers 1405 may be similar to intermediate network controllers 1105. Each of the window controllers in the distributed network of FIG. 17 may include a processor (e.g., microprocessor) and a computer readable medium in electrical communication with the processor.

In FIG. 17, each leaf or end window controller 1410 is in communication with EC device(s) 400 of a single tintable window to control the tint level of that tintable window in the building. In the case of an IGU, the leaf or end window controller 1410 may be in communication with EC devices 400 on multiple lites of the IGU control the tint level of the IGU. In other embodiments, each leaf or end window controller 1410 may be in communication with a plurality of tintable windows. The leaf or end window controller 1410 may be integrated into the tintable window or may be separate from the tintable window that it controls. Leaf and end window controllers 1410 in FIG. 17 may be similar to the end or leaf controllers 1110 in FIG. 15 and/or may also be similar to window controller 450 described with respect to FIG. 4.

Each wall switch 1490 can be operated by an end user (e.g., occupant of the room) to control the tint level and other functions of the tintable window in communication with the wall switch 1490. The end user can operate the wall switch 1490 to communicate control signals to the EC devices 400 in the associated tintable window. These signals from the wall switch 1490 may override signals from master window controller 1402 in some cases. In other cases (e.g., high demand cases), control signals from the master window controller 1402 may override the control signals from wall switch 1490. Each wall switch 1490 is also in communication with the leaf or end window controller 1410 to send information about the control signals (e.g. time, date, tint level requested, etc.) sent from wall switch 1490 back to master window controller 1402. In some cases, wall switches 1490 may be manually operated. In other cases, wall switches 1490 may be wirelessly controlled by the end user using a remote device (e.g., cell phone, tablet, etc.) sending wireless communications with the control signals, for example, using infrared (IR), and/or radio frequency (RF) signals. In some cases, wall switches 1490 may include a wireless protocol chip, such as Bluetooth, EnOcean, WiFi, Zigbee, and the like. Although wall switches 1490 depicted in FIG. 17 are located on the wall(s), other embodiments of system 1400 may have switches located elsewhere in the room.

VII. Another Example of Predictive Control Logic

FIG. 18 is a block diagram depicting predictive control logic for a method of controlling the tint level of one or more tintable windows (e.g., electrochromic windows) in different zones of a building, according to embodiments. This logic makes predictive determinations at a time in the future that accounts for the transition time of the EC devices 400 in the tintable windows. This predictive control logic can be employed by components of system 1400 described with respect to FIG. 17 or by components of systems of other disclosed embodiments. In the illustrated example, a portion of the predictive control logic is performed by window controller 1410, another portion is performed by network controller 1408, and the logic in Module 1 1406 is performed by a separate component from the window controller 1410 and network controller 1408. Alternatively, Module 1 1406 may be separate logic that may or may not be loaded onto the window controller 1410.

In FIG. 18, the portions of the predictive control logic employed by window controller 1410 and Module 1 1406 are managed by BMS 1407. BMS 1407 may be similar to BMS 1100 described with respect to FIG. 15. BMS 1407 is in electronic communication with window controller 1410 through a BACnet Interface 1408. In other embodiments, other communications protocol may be used. Although not shown in FIG. 18, Module 1 1406 is also in communication with BMS 1407 through BACnet Interface 1408. In other embodiments, the predictive control logic depicted in FIG. 18 may operate independently of a BMS.

Network controller 1408 receives sensor readings from one or more sensors (e.g., an outside light sensor) and may also convert the sensor reading into W/m². The network controller 1408 is in electronic communication with the window controller 1410 via either CANbus or CANOpen protocol. The network controller 1408 communicates the converted sensor readings to the window controller 1410. Network controller 1408 may be similar to either the intermediate network controller 1405 or the master network controller 1403 of FIG. 17.

In FIG. 18, the portion of the predictive control logic employed by window controller 1410 includes a master scheduler 1502. The master scheduler 1502 includes logic that allows a user (e.g., building administrator) to prepare a schedule that can use different types of control programs at different times of day and/or dates. Each of the control programs includes logic for determining a tint level based on or more independent variables. One type of control program is simply a pure state. A pure state refers to particular level of tint (e.g., transmissivity=40%) that is fixed during a certain time period, regardless of other conditions. For example, the building manager may specify that the windows are clear after 3 PM every day. As another example, building manager may specify a pure state for the time period between the hours of 8 PM to 6 AM every day. At other times of day, a different type of control program may be employed, for example, one employing a much greater level of sophistication. One type of control program offering a high level of sophistication. For example, a highly sophisticated control program of this type includes predictive control logic described in reference to FIG. 18 and may include the implementation of one or more of the logic Modules A, B, and C of Module 1 1406. As another example, another highly sophisticated control program of this type includes predictive control logic described in reference to FIG. 18 and may include the implementation of one or more of the logic Modules A, B, and C of Module 1 1406 and Module D described later in this Section VII. As another example, another highly sophisticated control program of this type is the predictive control logic described in reference to FIG. 7 and includes full multi-module implementation of logic Modules A, B, and C described in reference to FIGS. 8, 9, and 12. In this example, the predictive control logic uses sensor feedback in Module C and solar information in Modules A and B. Another example of a highly sophisticated control program is the predictive control logic described in reference to FIG. 7 with partial logic module implementation of one or two of the logic Modules A, B, and C described in reference to FIGS. 8, 9, and 12. Another type of control program is a threshold control program that relies on feedback from one or more sensors (e.g., photosensors) and adjusts the tint level accordingly without regard to solar position. One of the technical advantages of using master scheduler 1502 is that the user can select and schedule the control program (method) being used to determine the tint level.

Master scheduler 1502 runs the control programs in the schedule according to time in terms of the date and time of day based on a 24-hour day. Master scheduler 1502 may determine the date in terms of a calendar date and/or the day of the week based on a 7-day week with five weekdays (Monday through Friday) and two weekend days (Saturday and Sunday). Master scheduler 1502 may also determine whether certain days are holidays. Master scheduler 1502 may automatically adjust the time of day for daylight savings time based on the location of the tintable windows, which is determined by site data 1506.

In one embodiment, master scheduler 1502 may use a separate holiday schedule. The user may have determined which control program(s) to use during the holiday schedule. The user may determine which days will be included in the holiday schedule. Master scheduler 1502 may copy the basic schedule set up by the user and allow the user to set up their modifications for the holidays in the holiday schedule.

When preparing the schedule employed by master scheduler 1502, the user may select the zone or zones (Zone Selection) of the building where the selected program(s) will be employed. Each zone includes one or more tintable windows. In some cases, a zone may be an area associated with a space type (e.g., offices having a desk at a particular position, conference rooms, etc.) or may be associated with multiple space types. For example, the user may select Zone 1 having offices to: 1) Monday through Friday: heat up at 8 am in morning to 70 degrees and turn on air conditioning to at 3 pm in afternoon to keep temperature in offices to 80 degrees, and then turn off all air conditioning, and heat at 5 pm during weekdays, and 2) (Saturday and Sunday) turn off heat and air conditioning. As another example, the user may set Zone 2 having a conference room to run the predictive control logic of FIG. 18 including full-module implementation of Module 1 using all of the logic Module A, B, and C. In another example, the user may select a Zone 1 having conference rooms to run Module 1 from 8 AM to 3 PM and a threshold program or pure state after 3 PM. In other cases, a zone may be the entire building or may be one or more windows in a building.

When preparing the schedule with programs that may use sensor input, the user may also be able to select the sensor or sensors used in the programs. For example, the user may select a sensor located on the roof or a sensor located near or at the tintable window. As another example, the user may select an ID value of a particular sensor.

The portion of the predictive control logic employed by window controller 1410 also includes a user interface 1504 in electronic communication with master scheduler 1502. User interface 1504 is also in communication with site data 1506, zone/group data 1508, and sense logic 1516. The user may input their schedule information to prepare the schedule (generate a new schedule or modify an existing schedule) using user interface 1504. User interface 1504 may include an input device such as, for example, a keypad, touchpad, keyboard, etc. User interface 1504 may also include a display to output information about the schedule and provide selectable options for setting up the schedule. User interface 1504 is in electronic communication with a processor (e.g., microprocessor), which is in electronic communication with a computer readable medium (CRM). Both the processor and CRM are components of the window controller 1410. The logic in master scheduler 1502 and other components of the predictive control logic may be stored on the computer readable medium of window controller 1410.

The user may enter their site data 1506 and zone/group data 1508 using user interface 1504. Site data 1506 includes the latitude, longitude, and GMT Offset for the location of the building. Zone/group data includes the position, dimension (e.g., window width, window height, sill width, etc.), orientation (e.g., window tilt), external shading (e.g., overhang depth, overhang location above window, left/right fin to side dimension, left/right fin depth, etc.), datum glass SHGC, and occupancy lookup table for the one or more tintable windows in each zone of the building. In FIG. 18, site data 1506 and zone/group data 1508 is static information (i.e. information that is not changed by components of the predictive control logic). In other embodiments, this data may be generated on the fly. Site data 1506 and zone/group data 1508 may be stored on a computer readable medium of the window controller 1410.

When preparing (or modifying) the schedule, the user selects the control program that master scheduler 1502 will run at different time periods in each of the zones of a building. In some cases, the user may be able to select from multiple control programs. In one such case, the user may prepare a schedule by selecting a control program from a list of all control programs (e.g., menu) displayed on user interface 1405. In other cases, the user may have limited options available to them from a list of all control programs. For example, the user may have only paid for the use of two control programs. In this example, the user would only be able to select one of the two control programs paid for by the user.

An example of a user interface 1405 is shown in FIG. 19. In this illustrated example, the user interface 1405 is in the form of a table for entering schedule information used to generate or change a schedule employed by the master scheduler 1502. For example, the user can enter the time period into the table by entering start and stop times. The user can also select a sensor used by a program. The user can also enter Site data 1506 and Zone/Group Data 1508. The user can also select an occupancy lookup table to be used by selecting “Sun Penetration Lookup.”

Returning to FIG. 18, the portion of the predictive control logic employed by window controller 1410 also includes time of day (look ahead) logic 1510. Time of day (look ahead) logic 1510 determines a time in the future used by predictive control logic to make its predictive determinations. This time in the future accounts for time needed to transition the tint level of the EC devices 400 in the tintable windows. By using a time that accounts for transition time, the predictive control logic can predict a tint level appropriate for the future time at which time the EC devices 400 will have had the time to transition to the tint level after receiving the control signal. Time of day portion 1510 may estimate the transition time of EC device(s) in a representative window based on information about the representative window (e.g., window dimension, etc.) from the Zone/Group Data. Time of day logic 1510 may then determine the future time based on the transition time and the current time. For example, the future time may be equal to or greater than the current time added to the transition time.

The Zone/Group Data includes information about the representative window of each zone. In one case, the representative window may be one of the windows in the zone. In another case, the representative window may be a window having average properties (e.g., average dimensions) based on averaging all the properties from all the windows in that zone.

The predictive control logic employed by window controller 1410 also includes a solar position calculator 1512. Solar position calculator 1512 includes logic that determines the position of the sun, sun azimuth and sun altitude, at an instance in time. In FIG. 18, solar position calculator 1512 makes its determinations based on a future instance in time received from time of day logic 1510. Solar position calculator 1512 is in communication with time of day portion 1510 and site data 1506 to receive the future time, latitude and longitude coordinates of the building, and other information that may be needed to make its calculation(s), such as the solar position calculation. Solar position calculator 1512 may also perform one or more determinations based on the calculated solar position. In one embodiment, solar position calculator 1512 may calculate clear sky irradiance or make other determinations from Modules A, B, and C of Module 1 1406.

The control logic employed by window controller 1410 also includes schedule logic 1518, which is in communication with the sense logic 1516, the user interface 1405, the solar position calculator 1512, and Module 1 1406. The schedule logic 1518 includes logic that determines whether to use the tint level passing through the intelligence logic 1520 from Module 1 1406 or use another tint level based on other considerations. For example, as sunrise and sunset times change throughout the year, the user may not want to reprogram the schedule to account for these changes. The schedule logic 1518 may use the sunrise and sunset times from the solar position calculator 1512 to set an appropriate tint level before sunrise and after sunset without requiring the user to reprogram the schedule for these changing times. For example, the schedule logic 1508 may determine that according to the sunrise time received from the solar position calculator 1512 the sun has not risen and that a pre-sunrise tint level should be used instead of the tint level passed from Module 1 1406. The tint level determined by the schedule logic 1518 is passed to sense logic 1516.

Sense logic 1516 is in communication with override logic 1514, schedule logic 1518, and user interface 1405. Sense logic 1516 includes logic that determines whether to use the tint level passed from schedule logic 1516 or use another tint level based on the sensor data received through the BACnet interface 1408 from one or more sensors. Using the example in the paragraph above, if schedule logic 1518 determines that it the sun has not risen and passed a pre-sunrise tint level and the sensor data shows that the sun has actually risen, then sense logic 1516 would use the tint level passed from Module 1 1406 through schedule logic 1518. The tint level determined by sense logic 1516 is passed to override logic 1514.

BMS 1407 and network controller 1408 are also in electronic communication with a demand response (e.g., utility company) to receive signals communicating the need for a high demand (or peak load) override. In response to receiving these signals from the demand response, BMS 1407 and/or network controller 1408 may send instructions through BACnet Interface 1408 to override logic 1514 that will process the override information from the demand response. Override logic 1514 is in communication with BMS 1407 and network controller 1408 through the BACnet Interface 1408, and also in communication with sense logic 1516.

Override logic 1514 allows for certain types of overrides to disengage predictive control logic and use an override tint level based on another consideration. Some examples of types of overrides that may disengage predictive control logic include a high demand (or peak load) override, manual override, vacant room override, etc. A high demand (or peak load) override defines a tint level from the demand response. For a manual override, an end user may enter the override value at a wall switch 1490 (shown in FIG. 17) either manually or through a remote device. A vacant room override defines an override value based on a vacant room (i.e. no occupant in the room). In this case, the sense logic 1516 may receive sensor data from a sensor (e.g., motion sensor) indicating that the room is vacant and sense logic 1516 may determine an override value and relay the override value to override logic 1514. The override logic 1514 can receive an override value and determine whether to use the override value or use another value, such as another override value received from a source having higher priority (i.e., demand response). In some cases, the override logic 1514 may operate by steps similar to the override steps 630, 640, and 650 described with respect to FIG. 7.

The control logic employed by window controller 1410 also includes intelligence logic 1520 that can shut off one or more of Modules A 1550, B 1558 and C 1560. In one case, the intelligence logic 1520 may be used to shut off one or more Modules where the user has not paid for those Modules. Intelligence logic 1520 may prevent the use of certain more sophisticated features such as the penetration calculation made in Module A. In such cases, a basic logic is used that “short-circuits” the solar calculator information and uses it to calculate tint levels, possibly with the assistance of one or more sensors. This tint level from the basic logic is communicated to schedule logic 1518.

Intelligence logic 1520 can shut off one or more of the Modules (Module A 1550, Module B 1558 and Module C 1560) by diverting certain communications between the window controller 1410 and Module 1 1406. For example, the communication between the solar position calculator 1512 and Module A 1550 goes through intelligence logic 1520 and can be diverted to schedule logic 1518 by intelligence logic 1520 to shut off Module A 1550, Module B 1558 and Module C 1560. As another example, the communication of tint level from Module A at 1552 to the Clear Sky Irradiance calculations at 1554 goes through intelligence logic 1520 and can be diverted instead to schedule logic 1518 to shut off Module B 1558 and Module C 1560. In yet another example, the communication of tint level from Module B at 1558 to Module C 1560 goes through intelligence logic 1520 and can be diverted to schedule logic 1518 to shut off Module C 1560.

Module 1 1406 includes logic that determines and returns a tint level to the schedule logic 1518 of window controller 1410. The logic predicts a tint level that would be appropriate for the future time provided by the time of day portion 1510. The tint level is determined for a representative tintable window associated with each of the zones in the schedule.

In FIG. 18, Module 1 1406 includes Module A 1550, Module B 1558 and Module C 1560, which may have some steps that are similar in some respects to the steps performed in Modules A, B, and C as described with respect to FIGS. 8, 9, 12 and 13. In another embodiment, Module 1 1406 may be comprised of Modules A, B, and C as described with respect to FIGS. 8, 9, 12 and 13. In yet another embodiment, Module 1 1406 may be comprised of Modules A, B, and C described with respect to FIG. 14.

In FIG. 18, Module A 1550 determines the penetration depth through the representative tintable window. The penetration depth predicted by Module A 1550 is at the future time. Module A 1550 calculates the penetration depth based on the determined position of the sun (i.e. sun azimuth and sun altitude) received from the solar position calculator 1512 and based on the position of the representative tintable window, acceptance angle, dimensions of the window, orientation of the window (i.e. direction facing), and the details of any exterior shading retrieved from the zone/group data 1508.

Module A 1550 then determines the tint level that will provide occupant comfort for the calculated penetration depth. Module A 1550 uses the occupancy lookup table retrieved from the zone/group data 1508 to determine the desired tint level for the space type associated with the representative tintable window, for the calculated penetration depth, and for the acceptance angle of the window. Module A 1550 outputs a tint level at step 1552.

The maximum clear sky irradiance incident the representative tintable window is predicted for all times in the logic 1554. The clear sky irradiance at the future time is also predicted based on the latitude and longitude coordinates of the building and the representative window orientation (i.e. direction the window is facing) from the site data 1506 and the zone/group data 1508. These clear sky irradiance calculations can be performed by the sun position calculator 1512 in other embodiments.

Module B 1556 then calculates new tint levels by incrementally increasing the tint level. At each of these incremental steps, the Inside Irradiance in the room based on the new tint level is determined using the equation: Inside Irradiance=Tint level SHGC×Clear Sky Irradiance. Module B selects the tint level where Inside Irradiance is less than or equal to Datum Inside Irradiance (Datum SHGC×Max. Clear sky Irradiance) and the tint level is not lighter than Tint Level from A. Module B 1556 outputs the selected tint level from B. From the Tint level from B, logic 1558 calculates the outside irradiance and the calculated skylight irradiance.

Module C 1560 makes a determination of whether a sensor reading of irradiance is less than the clear sky irradiance. If the determination result is YES, then the tint level being calculated is made incrementally lighter (clearer) until the value matches or is less than a tint level calculated as Sensor Reading×Tint Level SHGC, but not to exceed datum inside Irradiance from B. If the determination result is NO, then the tint level being calculated is made darker in incremental steps as done in Module B 1556. Module C outputs the tint level. Logic 1562 determines that the tint level from Module C is the final tint level and returns this final tint level (Tint level from Module C) to the schedule logic 1518 of the window controller 1410.

In one aspect, Module 1 1406 may also include a fourth Module D that can predict the effects of the surrounding environment on the intensity and direction of sunlight through the tintable windows in the zone. For example, a neighboring building or other structure may shade the building and block some light from passing through the windows. As another example, reflective surfaces (e.g., surfaces having snow, water, etc.) from a neighboring building or other surfaces in the environment surrounding the building may reflect light into the tintable windows. This reflected light can increase the intensity of light into the tintable windows and cause glare in the occupant space. Depending on the values of the intensity and direction of sunlight predicted by Module D, Module D may modify the tint level determined from Modules A, B, and C or may modify certain determinations from Modules A, B, and C such as, for example, the penetration depth calculation or the acceptance angle of the representative window in the Zone/Group data.

In some cases, a site study may be conducted to determine the environment surrounding the building and/or one or more sensors may be used to determine the effects of the surrounding environment. Information from the site study may be static information based on predicting the reflectance and shading (surrounding) effects for a time period (e.g., a year), or may be dynamic information that can be updated on a periodic basis or other timed basis. In one case, Module D may use the site study to modify the standard acceptance angle and associated θ₁ and θ₂ (shown in FIG. 20) of the representative window of each zone retrieved from the Zone/group data. Module D may communicate this modified information regarding the representative windows other modules of the predictive control logic. The one or more sensors employed by Module D to determine the effects of the surrounding environment may be the same sensors used by other modules (e.g., by Module C) or may be different sensors. These sensors may be specifically designed to determine the effects of the surrounding environment for Module D.

To operate the predictive control logic shown in FIG. 18, the user first prepares a schedule with details of the times and dates, zones, sensors, and programs used. Alternatively, a default schedule may be provided. Once the schedule is in place (stored), at certain time intervals (every 1 minute, 5 minutes, 10 minutes, etc.) the time of day portion 1510 determines a future time of day based on the current time and the transition time of the EC device(s) 400 in the representative window or each zone in the schedule. Using the zone/group data 1508 and site data 1506, the solar position calculator 1512 determines the solar position at the future (look ahead) time for each representative window of each zone in the schedule. Based on the schedule prepared by the user, the intelligence logic 1520 is used to determine which program to employ for each zone in the schedule. For each zone, the scheduled program is employed and predicts an appropriate tint level for that future time. If there is an override in place, an override value will be used. If there is no override in place, then the tint level determined by the program will be used. For each zone, the window controller 1410 will send control signals with the zone-specific tint level determined by the scheduled program to the associated EC device(s) 400 to transition the tint level of the tintable window(s) in that zone by the future time.

VIII. Example of Occupancy Lookup Table

FIG. 20 is an illustration including an example of an occupancy lookup table. The tint level in the table is in terms of T_(vis) (visible transmission). The table includes different tint levels (T_(vis) values) for different combinations of calculated penetration depth values (2 feet, 4 feet, 8 feet, and 15 feet) for a particular space type and when the sun angle θ_(sun) is between the acceptance angle of the window between θ₁=30 degrees and θ₂=120 degrees. The table is based on four tint levels including 4% (lightest), 20%, 40%, and 63%. FIG. 20 also shows a diagram of a desk near a window and the acceptance angle of the window to sunlight having an angle θ_(sun) between the angle of θ₁ and θ₂. This diagram shows the relationship between the sun angle θ_(sun) and the location of the desk. When the angle of the sun θ_(sun) is between the angle of acceptance between θ₁ and θ₂, then the sunlight could strike the surface of the desk. If the sun angle θ_(sun) is between the acceptance angle between θ₁ and θ₂ (If θ₁<θ_(sun)<θ₂) and the penetration depth meets the criteria to tint the window, then that tint level determined by the occupancy lookup table is sent to the window controller, which sends control signals to the EC devices in the window to transition the window to the determined tint level. These two angles θ₁ and θ₂ can be calculated or measured for each window, and stored in the zone/group data 1508 with the other window parameters for that zone.

FIGS. 21A, 21B, and 21C are plan views of a portion of a building 2100, according to embodiments. Building 2100 may be similar in some respects to the building 1101 in FIG. 15 and the rooms in building 2100 may be similar in some respects to the room 500 described in FIGS. 5, 6A, 6B, and 6C. The portion of building 2100 includes three different space types including: a desk in an office, a group of cubicles, and a conference room in the building 2100. FIGS. 21A, 21B, and 21C show the sun at different angles θ_(sun). These figures also illustrate the different acceptance angles of the different types of windows in building 2100. For example, the conference room with the largest window will have the largest acceptance angle allowing the most light into the room. In this example, the T_(vis) values in an associated occupancy lookup table may be relatively low (low transmissivity) for the conference room. If however, a similar window having the same acceptance angle was instead in a solarium, then the T_(vis) values in an associated occupancy lookup table may be higher values (higher transmissivity) to allow for more sunlight to enter the room.

IX. Subsystems

FIG. 22 is a block diagram of subsystems that may be present in window controllers used to control the tint level or more tintable windows, according to embodiments. For example, window controllers depicted in FIG. 17 may have a processor (e.g., microprocessor) and a computer readable medium in electronic communication with the processor.

The various components previously described in the Figures may operate using one or more of the subsystems to facilitate the functions described herein. Any of the components in the Figures may use any suitable number of subsystems to facilitate the functions described herein. Examples of such subsystems and/or components are shown in a FIG. 22. The subsystems shown in FIG. 22 are interconnected via a system bus 2625. Additional subsystems such as a printer 2630, keyboard 2632, fixed disk 2634 (or other memory comprising computer readable media), display 2430, which is coupled to display adapter 2638, and others are shown. Peripherals and input/output (I/O) devices, which couple to I/O controller 2640, can be connected to the computer system by any number of means known in the art, such as serial port 2642. For example, serial port 2642 or external interface 2644 can be used to connect the computer apparatus to a wide area network such as the Internet, a mouse input device, or a scanner. The interconnection via system bus allows the processor 2410 to communicate with each subsystem and to control the execution of instructions from system memory 2646 or the fixed disk 2634, as well as the exchange of information between subsystems. The system memory 2646 and/or the fixed disk 2634 may embody a computer readable medium. Any of these elements may be present in the previously described features.

In some embodiments, an output device such as the printer 2630 or display 2430 of one or more systems can output various forms of data. For example, the system 1400 may output schedule information on a display to a user.

Modifications, additions, or omissions may be made to any of the above-described predictive control logic, other control logic and their associated control methods (e.g., logic described with respect to FIG. 18, logic described with respect to FIGS. 7, 8, 9, 12, and 13, and logic described with respect to FIG. 14) without departing from the scope of the disclosure. Any of the logic described above may include more, fewer, or other logic components without departing from the scope of the disclosure. Additionally, the steps of the described logic may be performed in any suitable order without departing from the scope of the disclosure.

Also, modifications, additions, or omissions may be made to the above-described systems (e.g., system described with respect to FIG. 17) or components of a system without departing from the scope of the disclosure. The components of the may be integrated or separated according to particular needs. For example, the master network controller 1403 and intermediate network controller 1405 may be integrated into a single window controller. Moreover, the operations of the systems can be performed by more, fewer, or other components. Additionally, operations of the systems may be performed using any suitable logic comprising software, hardware, other logic, or any suitable combination of the preceding.

It should be understood that the present invention as described above can be implemented in the form of control logic using computer software in a modular or integrated manner. Based on the disclosure and teachings provided herein, a person of ordinary skill in the art will know and appreciate other ways and/or methods to implement the present invention using hardware and a combination of hardware and software.

Any of the software components or functions described in this application, may be implemented as software code to be executed by a processor using any suitable computer language such as, for example, Java, C++ or Perl using, for example, conventional or object-oriented techniques. The software code may be stored as a series of instructions, or commands on a computer readable medium, such as a random access memory (RAM), a read only memory (ROM), a magnetic medium such as a hard-drive or a floppy disk, or an optical medium such as a CD-ROM. Any such computer readable medium may reside on or within a single computational apparatus, and may be present on or within different computational apparatuses within a system or network.

Although the foregoing disclosed embodiments have been described in some detail to facilitate understanding, the described embodiments are to be considered illustrative and not limiting. It will be apparent to one of ordinary skill in the art that certain changes and modifications can be practiced within the scope of the appended claims.

One or more features from any embodiment may be combined with one or more features of any other embodiment without departing from the scope of the disclosure. Further, modifications, additions, or omissions may be made to any embodiment without departing from the scope of the disclosure. The components of any embodiment may be integrated or separated according to particular needs without departing from the scope of the disclosure. 

What is claimed is:
 1. A method of controlling tint of a tintable window in a room of a building, wherein the tintable window is located between the interior and exterior of the building, the method comprising: (a) determining a tint level for the tintable window at a future time based on a calculated penetration depth of sunlight through the tintable window into the room at the future time and space type of the room, wherein the space type is associated with occupant comfort; and (b) providing instructions over a network to transition tint of the tintable window to the tint level determined in (a).
 2. The method of claim 1, further comprising determining clear sky irradiance through the tintable window at the future time, and using the determined clear sky irradiance together with the determination in (a) to modify the tint level determined in (a).
 3. The method of claim 2, further comprising receiving a signal from a sensor configured to detect light in the visible range of wavelengths at or near the tintable window, and using the detected light together with the determination in (a) to further modify the tint level.
 4. The method of claim 1, further comprising calculating the penetration depth in (a) based on a calculated sun position at the future time and window configuration.
 5. The method of claim 4, wherein the future time is at least a preset interval after the current time, wherein the preset interval is an estimated duration of transitioning the tint of the tintable window.
 6. The method of claim 5, wherein the tint level determined in (a) reduces energy consumption by a heating system, a cooling system, and/or lighting in the building while providing occupant comfort.
 7. The method of claim 4, wherein the window configuration comprises values of one or more variables selected from the group consisting of position of the tintable window, dimensions of the tintable window, orientation of the tintable window, and dimensions of exterior shading.
 8. The method of claim 1, wherein the tint level in (a) is determined using a lookup table in which tint levels are specified for combinations of penetration depth and space type.
 9. The method of claim 4, further comprising calculating the sun position used to determine the tint level in (a) based on longitude and latitude of the building, and day of year and a future time of day.
 10. The method of claim 1, further comprising using an override value to modify the tint level determined in (a) after an override mechanism is received.
 11. The method of claim 1, further comprising providing instructions wherein the instructions are provided by a master controller.
 12. The method of claim 1, wherein the space type is stored in a configuration file for the tintable window.
 13. The method of claim 1, wherein the space type corresponds to a location and type of activity, wherein the location and type of activity is selected from the group consisting of office work with workspace near the tintable window, office work with workspace away from the tintable window, lobby activity, lounge activity, and close work associated with detailed study.
 14. The method of claim 1, wherein the space type is selected from the group consisting of a desk near the tintable window, a desk away from the tintable window, a lobby, a lounge, a conference room, an office area of a single occupant, and a group of cubicles.
 15. A controller for controlling tint of a tintable window in a room of a building, wherein the tintable window is located between the interior and exterior of the building, the controller comprising: a processor configured to determine a tint level for the tintable window at a future time based on a calculated penetration depth of direct sunlight through the tintable window into the room and space type of the room, wherein the space type is associated with occupant comfort; and a pulse width modulator in communication with the processor and with the tintable window over a network, the pulse width modulator configured to receiving the tint level from the processor and send a signal with tint instructions over the network to transition the tint of the tintable window to the determined tint level.
 16. The controller of claim 15, wherein the processor is further configured to determine clear sky irradiance through the tintable window, and use the determined clear sky irradiance together with the determined tint level to modify the determined tint level.
 17. The controller of claim 16, wherein the processor is in communication with a sensor configured to detect light in the visible range of wavelengths at or near the tintable window, and wherein the processor is further configured to receive a signal with the detected light from the sensor and use the detected light together with the modified tint level to further modify the tint level.
 18. A master controller for controlling tint of a tintable window in a building, wherein the tintable window is located between the interior and exterior of the building, the master controller comprising: a computer readable medium having a configuration file with a space type associated both with the tintable window and with occupant comfort; and a processor in communication with the computer readable medium and in communication with a local window controller for the tintable window, wherein the processor is configured to: receive the space type from the computer readable medium, determine a tint level for the tintable window at a future time based on a calculated penetration depth of direct sunlight through the tintable window into a room and the space type, and send tint instructions over a network to the local window controller to transition tint of the tintable window to the determined tint level.
 19. A method of controlling tint of one or more tintable windows in a zone of a building, the method comprising: calculating a future time based on a current time and based on a determined transition time of a representative window of the zone, wherein the zone is associated with a space type and the space type is associated with occupant comfort; determining a solar position at the future time; determining a program designated by a user in a schedule, the program including logic for determining a tint level based on one or more independent variables; employing the determined program to determine the tint level based on the determined solar position at the future time and occupant comfort; and communicating instructions to the one or more tintable windows to transition tint to the determined tint level.
 20. The method of claim 19, wherein the tintable windows are electrochromic windows and the instructions are communicated to one or more electrochromic devices of each of the electrochromic windows.
 21. The method of claim 19, further comprising using intelligence logic to determine whether to use one or more logic modules in the program to determine the tint level.
 22. The method of claim 21, further comprising if the intelligence logic determines to use a first logic module, determining the tint level based on a calculated penetration depth of direct sunlight through the representative window and based on space type.
 23. The method of claim 22, further comprising calculating the penetration depth based on the determined solar position and window configuration.
 24. The method of claim 22, further comprising modifying the calculated penetration depth based on surrounding environment of the building.
 25. The method of claim 22, wherein the tint level is determined using a lookup table in which tint levels are specified for combinations of penetration depth, space type, and acceptance angle.
 26. The method of claim 25, further comprising modifying the acceptance angle of the representative window based on surrounding environment of the building.
 27. The method of claim 21, if the intelligence logic determines to use a second logic module, further comprising: determining clear sky irradiance through the representative window at the future time; and using the determined clear sky irradiance along with the determined solar position to determine the tint level.
 28. The method of claim 21, if the intelligence logic determines to use a third logic module, further comprising using light detected by a sensor to determine the tint level, wherein the light detected is in the visible range of wavelengths.
 29. The method of claim 21, if the intelligence logic determines to use both a first logic module and a second logic module, further comprising: determining the tint level based on a calculated penetration depth of direct sunlight through the representative window and based on space type; determining clear sky irradiance through the representative window at the future time; and modifying the tint level based on the determined clear sky irradiance along with the determined solar position if darker.
 30. The method of claim 29, if the intelligence logic determines to also use a third logic module, further comprising using light detected by a sensor to modify the tint level if lighter, wherein the light detected in the visible range of wavelengths.
 31. The method of claim 19, further comprising determining clear sky irradiance through the representative window at the future time.
 32. The method of claim 19, further comprising using override logic to determine whether to use an override value to modify the determined tint level.
 33. The method of claim 19, wherein the schedule was prepared by a user.
 34. The method of claim 19, further comprising determining the solar position at the determined future time based on longitude and latitude of the building.
 35. The method of claim 19, wherein the schedule designates programs used at different times and dates.
 36. A window controller for controlling tint of one or more tintable windows in a zone of a building, the window controller comprising: a computer readable medium having predictive control logic, and site data and zone/group data associated with the zone, wherein the zone is associated with a space type and the space type is associated with occupant comfort; and a processor in communication with the computer readable medium and in communication with the tintable window, wherein the processor is configured to: calculate a future time based on a current time and a determined transition time of a representative window of the zone; determine a solar position at the future time; determine a program designated by a user in a schedule the program including logic for determining a tint level based on one or more independent variables; employ the determined program to determine a tint level using the determined solar position at the future time and based on occupant comfort; and communicate instructions to the one or more tintable windows in the zone to transition tint to the determined tint level.
 37. The window controller of claim 36, wherein the tintable windows are electrochromic windows and the instructions are communicated to one or more electrochromic devices of each of the electrochromic windows.
 38. The window controller of claim 36, wherein the schedule designates programs used at different times and dates. 